Add support for OFPFC_MODIFY Flow Mod command.
[openvswitch] / datapath / chain.h
index 42208d694103a352839850af39dbcb269f28c96a..dbbae416ac88e3cece7cb77a9494e713a950a15f 100644 (file)
@@ -5,6 +5,7 @@
 
 struct sw_flow;
 struct sw_flow_key;
+struct ofp_action;
 struct datapath;
 
 
@@ -24,6 +25,8 @@ struct sw_chain {
 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);
 int chain_timeout(struct sw_chain *);
 void chain_destroy(struct sw_chain *);