#include <stdint.h>
#include "openvswitch/types.h"
-struct flow;
struct nlattr;
struct ofpbuf;
+struct pkt_metadata;
typedef void (*odp_execute_cb)(void *dp, struct ofpbuf *packet,
- struct flow *metadata,
+ const struct pkt_metadata *,
const struct nlattr *action, bool may_steal);
/* Actions that need to be executed in the context of a datapath are handed
* actions OVS_ACTION_ATTR_OUTPUT and OVS_ACTION_ATTR_USERSPACE so
* 'dp_execute_action' needs to handle only these. */
void
-odp_execute_actions(void *dp, struct ofpbuf *packet, struct flow *metadata,
+odp_execute_actions(void *dp, struct ofpbuf *packet, struct pkt_metadata *,
const struct nlattr *actions, size_t actions_len,
odp_execute_cb dp_execute_action);
#endif