X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fflow.c;h=ae2f78792d8bc6a0b3c4c90b481d9a0873ea344b;hb=e4cf5c4b82ce35b7702b24cb690f005cdd0a42d0;hp=2093dbba276d90eb3c69ffab312cf115f64a6d84;hpb=d012fea24ba79e4dd789c814bef46c96301c7e82;p=openvswitch diff --git a/datapath/flow.c b/datapath/flow.c index 2093dbba..ae2f7879 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -66,17 +66,18 @@ int flow_matches_2wild(const struct sw_flow_key *a, EXPORT_SYMBOL(flow_matches_2wild); /* 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) +int 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; return flow_matches_1wild(t, d); } -EXPORT_SYMBOL(flow_del_matches); +EXPORT_SYMBOL(flow_matches_desc); static uint32_t make_nw_mask(int n_wild_bits) {