diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-04 09:52:37 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-05-07 11:23:31 -0700 |
commit | ccbe50f8f61ac944eb965f67c570d79b6724c9cf (patch) | |
tree | 02a97f1047c11117fdfb1d8fe9ff6a888d9d7d5f /lib/meta-flow.h | |
parent | 33cadc5034cda0c9a0bcd59fbec146784387ee1f (diff) |
ofp-parse: New function parse_ofp_exact_flow().
This function parses a flow rather than a cls_rule. It will be useful
for "ofproto/trace", which currently requires an odp_flow and thus can't
accept values for registers and other concepts that don't exist in the
kernel.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/meta-flow.h')
-rw-r--r-- | lib/meta-flow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/meta-flow.h b/lib/meta-flow.h index 662778c7..632cb46d 100644 --- a/lib/meta-flow.h +++ b/lib/meta-flow.h @@ -264,6 +264,7 @@ void mf_set_value(const struct mf_field *, const union mf_value *value, struct cls_rule *); void mf_set_flow_value(const struct mf_field *, const union mf_value *value, struct flow *); +bool mf_is_zero(const struct mf_field *, const struct flow *); void mf_get(const struct mf_field *, const struct cls_rule *, union mf_value *value, union mf_value *mask); |