diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2013-10-23 12:52:57 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-10-23 13:52:24 -0700 |
commit | 8621547cc94ad91018ac0b662427a6fa20165a8d (patch) | |
tree | 52e4fd6338df1772d17a00ce99448eb99229f8a4 /lib/ofp-util.h | |
parent | dba70df0cba19228f2751ad0c28d75ab422306e2 (diff) | |
download | openvswitch-8621547cc94ad91018ac0b662427a6fa20165a8d.tar.gz |
lib/ofp-actions: Enforce action consistency.
OpenFlow 1.1+ specs encourage switches to verify action consistency
at flow setup time. Implement this for OpenFlow 1.1+ only to not
break any current OF 1.0 based use.
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-util.h')
-rw-r--r-- | lib/ofp-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ofp-util.h b/lib/ofp-util.h index 1afdce003..1f7780825 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -89,6 +89,7 @@ enum ofputil_protocol { OFPUTIL_P_OF10_NXM_TID = 1 << 3, #define OFPUTIL_P_OF10_STD_ANY (OFPUTIL_P_OF10_STD | OFPUTIL_P_OF10_STD_TID) #define OFPUTIL_P_OF10_NXM_ANY (OFPUTIL_P_OF10_NXM | OFPUTIL_P_OF10_NXM_TID) +#define OFPUTIL_P_OF10_ANY (OFPUTIL_P_OF10_STD_ANY | OFPUTIL_P_OF10_NXM_ANY) /* OpenFlow 1.1 protocol. * |