X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Ftable.h;h=3dda2769bd31b04359b1348d8abfd3364a654bb6;hb=e4cf5c4b82ce35b7702b24cb690f005cdd0a42d0;hp=8cbcfb7a6d0880d7d4013748923e88b47e04cd20;hpb=d012fea24ba79e4dd789c814bef46c96301c7e82;p=openvswitch diff --git a/datapath/table.h b/datapath/table.h index 8cbcfb7a..3dda2769 100644 --- a/datapath/table.h +++ b/datapath/table.h @@ -55,9 +55,11 @@ struct sw_table { * retained by the caller. */ int (*insert)(struct sw_table *table, struct sw_flow *flow); - /* Modifies the actions in 'table' that match 'key'. Returns the - * number of flows that were modified. */ + /* Modifies the actions in 'table' that match 'key'. If 'strict' + * set, wildcards and priority must match. Returns the number of flows + * that were modified. */ int (*modify)(struct sw_table *table, const struct sw_flow_key *key, + uint16_t priority, int strict, const struct ofp_action *actions, int n_actions); /* Deletes from 'table' any and all flows that match 'key' from