summaryrefslogtreecommitdiff
path: root/lib/ofp-util.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-07-08 16:02:30 -0700
committerJesse Gross <jesse@nicira.com>2015-07-15 20:33:41 -0700
commitb666962be3b2772bec76c2df0c1aec90ce373b36 (patch)
treec2157717a1a6341c54337a4be3fc584284b5397d /lib/ofp-util.c
parent8e4c1621e939cd29df79b526920e5c243a48bdaa (diff)
downloadopenvswitch-b666962be3b2772bec76c2df0c1aec90ce373b36.tar.gz
tunneling: Allow matching and setting tunnel 'OAM' flag.
Several encapsulation formats have the concept of an 'OAM' bit which typically is used with networking tracing tools to distinguish test packets from real traffic. OVS already internally has support for this, however, it doesn't do anything with it and it also isn't exposed for controllers to use. This enables support through OpenFlow. There are several other tunnel flags which are consumed internally by OVS. It's not clear that it makes sense to use them externally so this does not expose those flags - although it should be easy to do so if necessary in the future. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-util.c')
-rw-r--r--lib/ofp-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 646bae7f5..7e2ee4baa 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -199,7 +199,7 @@ ofputil_netmask_to_wcbits(ovs_be32 netmask)
void
ofputil_wildcard_from_ofpfw10(uint32_t ofpfw, struct flow_wildcards *wc)
{
- BUILD_ASSERT_DECL(FLOW_WC_SEQ == 32);
+ BUILD_ASSERT_DECL(FLOW_WC_SEQ == 33);
/* Initialize most of wc. */
flow_wildcards_init_catchall(wc);