diff options
author | Ben Pfaff <blp@ovn.org> | 2018-02-15 14:38:28 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-03-14 11:29:19 -0700 |
commit | 225c33ba64a4de1aa30b05f8549c0628fe7fe6e3 (patch) | |
tree | 1822c7bcd2e3421e5f819ecc25f5fd8e9a605fbf /include/openvswitch/ofp-flow.h | |
parent | 62bba609351a8c71319f80a59731a3810c873d27 (diff) | |
download | openvswitch-225c33ba64a4de1aa30b05f8549c0628fe7fe6e3.tar.gz |
ofp-protocol: Better abstract changing the protocol used for flow matches.
The previous interface here required the client to understand, to some
extent, the low-level NXFF_* values and the encoding format for the
NXT_SET_FLOW_FORMAT and NXT_SET_FLOW_MOD_TABLE_ID messages. This commit
changes the interface so that the client only has to understand the
ofputil_protocol type used elsewhere and none of the encoding otherwise.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-flow.h')
-rw-r--r-- | include/openvswitch/ofp-flow.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/openvswitch/ofp-flow.h b/include/openvswitch/ofp-flow.h index abaf4a87a..28aa77bad 100644 --- a/include/openvswitch/ofp-flow.h +++ b/include/openvswitch/ofp-flow.h @@ -31,15 +31,6 @@ struct ofputil_table_map; extern "C" { #endif -/* nx_flow_format */ -struct ofpbuf *ofputil_encode_nx_set_flow_format(enum nx_flow_format); -enum ofputil_protocol ofputil_nx_flow_format_to_protocol(enum nx_flow_format); -bool ofputil_nx_flow_format_is_valid(enum nx_flow_format); -const char *ofputil_nx_flow_format_to_string(enum nx_flow_format); - -/* NXT_FLOW_MOD_TABLE_ID extension. */ -struct ofpbuf *ofputil_make_flow_mod_table_id(bool flow_mod_table_id); - /* Protocol-independent flow_mod flags. */ enum ofputil_flow_mod_flags { /* Flags that are maintained with a flow as part of its state. |