X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fodp-util.h;h=8c7d4d147f48bcb73d8aef3add064217f00aa9b1;hb=7bde8dd8f56d081398f6b6317b17ca41a3fdc81b;hp=0e4bc0bd0c9db17923df09b32dd64b7188aeb3be;hpb=6ff686f2bc2afcfb0a9ad9793d834979dc9870d6;p=openvswitch diff --git a/lib/odp-util.h b/lib/odp-util.h index 0e4bc0bd..8c7d4d14 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -21,13 +21,14 @@ #include #include #include +#include #include "hash.h" #include "openflow/openflow.h" -#include "openvswitch/datapath-protocol.h" #include "util.h" struct ds; struct flow; +struct nlattr; struct ofpbuf; #define OVSP_NONE ((uint16_t) -1) @@ -57,9 +58,6 @@ odp_port_to_ofp_port(uint16_t odp_port) return odp_port; } } - -int odp_action_len(uint16_t type); -void format_odp_action(struct ds *, const struct nlattr *); void format_odp_actions(struct ds *, const struct nlattr *odp_actions, size_t actions_len);