a2585516414bc5dabf55021172eec91a5b4cf061
[sliver-openvswitch.git] / datapath / actions.h
1 /*
2  * Copyright (c) 2009, 2010 Nicira Networks.
3  * Distributed under the terms of the GNU GPL version 2.
4  *
5  * Significant portions of this file may be copied from parts of the Linux
6  * kernel, by Linus Torvalds and others.
7  */
8
9 #ifndef ACTIONS_H
10 #define ACTIONS_H 1
11
12 #include <linux/skbuff.h>
13 #include <linux/version.h>
14
15 struct datapath;
16 struct sk_buff;
17 struct odp_flow_key;
18 union odp_action;
19
20 int execute_actions(struct datapath *dp, struct sk_buff *skb,
21                     const struct odp_flow_key *key,
22                     const union odp_action *, int n_actions);
23
24 #endif /* actions.h */