Fix setting "of" device name based on unitialized dp_idx.
[sliver-openvswitch.git] / datapath / chain.h
index dbbae41..a78a938 100644 (file)
@@ -5,7 +5,7 @@
 
 struct sw_flow;
 struct sw_flow_key;
-struct ofp_action;
+struct ofp_action_header;
 struct datapath;
 
 
@@ -26,8 +26,9 @@ struct sw_chain *chain_create(struct datapath *);
 struct sw_flow *chain_lookup(struct sw_chain *, const struct sw_flow_key *);
 int chain_insert(struct sw_chain *, struct sw_flow *);
 int chain_modify(struct sw_chain *, const struct sw_flow_key *, 
-               const struct ofp_action *, int);
-int chain_delete(struct sw_chain *, const struct sw_flow_key *, uint16_t, int);
+               uint16_t, int, const struct ofp_action_header *, size_t);
+int chain_delete(struct sw_chain *, const struct sw_flow_key *, uint16_t, 
+               uint16_t, int);
 int chain_timeout(struct sw_chain *);
 void chain_destroy(struct sw_chain *);