aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-01 09:09:20 -0700
committerBen Pfaff <blp@nicira.com>2011-06-01 09:09:20 -0700
commit7286b1e13dbf358ea6071d04b311474208308ad6 (patch)
treec796e20d658fc57c11b79a72de70ea25c2795201 /lib/ofp-util.h
parenteb6f28db085cdf8dd506aa06825199e09f85c32c (diff)
ovs-controller: Allow --wildcards to specify a wildcard set.
Based on a patch by Jean Tourrilhes <jt@hpl.hp.com>. According to Jean, besides increasing flexibility, this reduces normalization warnings. Tested-by: Jean Tourrilhes <jt@hpl.hp.com>
Diffstat (limited to 'lib/ofp-util.h')
-rw-r--r--lib/ofp-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ofp-util.h b/lib/ofp-util.h
index 152f4dd8..bba36630 100644
--- a/lib/ofp-util.h
+++ b/lib/ofp-util.h
@@ -99,6 +99,7 @@ ovs_be32 ofputil_wcbits_to_netmask(int wcbits);
int ofputil_netmask_to_wcbits(ovs_be32 netmask);
/* Work with OpenFlow 1.0 ofp_match. */
+void ofputil_wildcard_from_openflow(uint32_t ofpfw, struct flow_wildcards *);
void ofputil_cls_rule_from_match(const struct ofp_match *,
unsigned int priority, struct cls_rule *);
void ofputil_normalize_rule(struct cls_rule *, enum nx_flow_format);