2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

odp-execute: Refine signatures for odp_execute_actions() callbacks.

Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ben Pfaff
2013-09-20 12:47:33 -07:00
parent 39d007ab3d
commit 4fc6592603
3 changed files with 19 additions and 15 deletions

View File

@@ -20,6 +20,7 @@
#include <stddef.h>
#include <stdint.h>
#include "openvswitch/types.h"
struct flow;
struct nlattr;
@@ -29,8 +30,9 @@ void
odp_execute_actions(void *dp, struct ofpbuf *packet, struct flow *key,
const struct nlattr *actions, size_t actions_len,
void (*output)(void *dp, struct ofpbuf *packet,
uint32_t out_port),
const struct flow *key,
odp_port_t out_port),
void (*userspace)(void *dp, struct ofpbuf *packet,
const struct flow *key,
const struct nlattr *a));
const struct nlattr *action));
#endif