aboutsummaryrefslogtreecommitdiff
path: root/lib/odp-execute.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-09-20 12:47:33 -0700
committerBen Pfaff <blp@nicira.com>2013-10-09 17:14:40 -0700
commit4fc65926033eb4a020d1f63db540fe551eae9f82 (patch)
tree8808c738bf157617e081b7d6e52712d6a39f0fc8 /lib/odp-execute.h
parent39d007ab3dbad6dbc92c71bc7797a728d3995afb (diff)
odp-execute: Refine signatures for odp_execute_actions() callbacks.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/odp-execute.h')
-rw-r--r--lib/odp-execute.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/odp-execute.h b/lib/odp-execute.h
index 89dd66bd..5d9fa90b 100644
--- a/lib/odp-execute.h
+++ b/lib/odp-execute.h
@@ -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