X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=switch%2Fswitch-flow.c;h=a42d00fb32e60da9cd9b335b942423724723da87;hb=e4cf5c4b82ce35b7702b24cb690f005cdd0a42d0;hp=e0410afc445323db4adee3d98dcb1e4058189d68;hpb=d012fea24ba79e4dd789c814bef46c96301c7e82;p=openvswitch diff --git a/switch/switch-flow.c b/switch/switch-flow.c index e0410afc..a42d00fb 100644 --- a/switch/switch-flow.c +++ b/switch/switch-flow.c @@ -85,12 +85,13 @@ flow_matches_2wild(const struct sw_flow_key *a, const struct sw_flow_key *b) } /* Returns nonzero if 't' (the table entry's key) and 'd' (the key - * describing the deletion) match, that is, if their fields are + * describing the match) match, that is, if their fields are * equal modulo wildcards, zero otherwise. If 'strict' is nonzero, the * wildcards must match in both 't_key' and 'd_key'. Note that the * table's wildcards are ignored unless 'strict' is set. */ int -flow_del_matches(const struct sw_flow_key *t, const struct sw_flow_key *d, int strict) +flow_matches_desc(const struct sw_flow_key *t, const struct sw_flow_key *d, + int strict) { if (strict && d->wildcards != t->wildcards) { return 0;