ofproto-dpif: Update bundle when OFPPC_NO_FLOOD changed.
[openvswitch] / lib / odp-util.h
index 0e4bc0bd0c9db17923df09b32dd64b7188aeb3be..8c7d4d147f48bcb73d8aef3add064217f00aa9b1 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 #include <string.h>
+#include <linux/openvswitch.h>
 #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);