diff options
author | Ben Pfaff <blp@nicira.com> | 2011-06-01 09:09:20 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-06-01 09:09:20 -0700 |
commit | 7286b1e13dbf358ea6071d04b311474208308ad6 (patch) | |
tree | c796e20d658fc57c11b79a72de70ea25c2795201 /lib/ofp-util.h | |
parent | eb6f28db085cdf8dd506aa06825199e09f85c32c (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.h | 1 |
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); |