diff options
author | Ben Pfaff <blp@nicira.com> | 2010-12-07 13:32:01 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-12-07 13:32:01 -0800 |
commit | 88ca35eed0ce0bc65e45122c24e33f50e8339bb8 (patch) | |
tree | a6ccea60df9adb00958ea86dfa0af451e16b6891 /lib/ofp-util.h | |
parent | 7fa9111326e440a56dff41e0d4571716032a1de7 (diff) |
ovs-ofctl: Add NXM support.
Diffstat (limited to 'lib/ofp-util.h')
-rw-r--r-- | lib/ofp-util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ofp-util.h b/lib/ofp-util.h index f91e7622..abd811fd 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -115,6 +115,12 @@ char *ofp_match_to_literal_string(const struct ofp_match *match); /* Flow formats. */ bool ofputil_flow_format_is_valid(enum nx_flow_format); const char *ofputil_flow_format_to_string(enum nx_flow_format); +int ofputil_flow_format_from_string(const char *); +enum nx_flow_format ofputil_min_flow_format(const struct cls_rule *, + bool cookie_support, + ovs_be64 cookie); + +struct ofpbuf *ofputil_make_set_flow_format(enum nx_flow_format); /* Flow format independent flow_mod. */ struct flow_mod { |