datapath: Change listing flows to use an iterator concept.
[openvswitch] / datapath / actions.h
index 04bc65444494ab4350e0a8450ebfe65f51a4dc08..3067bf72d60021167e55b2e6db3d513c64e05cfa 100644 (file)
@@ -9,16 +9,15 @@
 #ifndef ACTIONS_H
 #define ACTIONS_H 1
 
-#include <linux/gfp.h>
+#include <linux/skbuff.h>
+#include <linux/version.h>
 
 struct datapath;
 struct sk_buff;
 struct odp_flow_key;
-union odp_action;
 
 int execute_actions(struct datapath *dp, struct sk_buff *skb,
-                   struct odp_flow_key *key,
-                   const union odp_action *, int n_actions,
-                   gfp_t gfp);
+                   const struct odp_flow_key *key,
+                   const struct nlattr *, u32 actions_len);
 
 #endif /* actions.h */