Lines Matching refs:r_match
144 struct prestera_acl_match *r_match = &rule->re_key.match; in prestera_flower_parse_meta() local
180 rule_match_set(r_match->key, SYS_PORT, key); in prestera_flower_parse_meta()
181 rule_match_set(r_match->mask, SYS_PORT, mask); in prestera_flower_parse_meta()
185 rule_match_set(r_match->key, SYS_DEV, key); in prestera_flower_parse_meta()
186 rule_match_set(r_match->mask, SYS_DEV, mask); in prestera_flower_parse_meta()
197 struct prestera_acl_match *r_match = &rule->re_key.match; in prestera_flower_parse() local
250 rule_match_set(r_match->key, ETH_TYPE, n_proto_key); in prestera_flower_parse()
251 rule_match_set(r_match->mask, ETH_TYPE, n_proto_mask); in prestera_flower_parse()
253 rule_match_set(r_match->key, IP_PROTO, match.key->ip_proto); in prestera_flower_parse()
254 rule_match_set(r_match->mask, IP_PROTO, match.mask->ip_proto); in prestera_flower_parse()
264 rule_match_set_n(r_match->key, in prestera_flower_parse()
266 rule_match_set_n(r_match->key, in prestera_flower_parse()
269 rule_match_set_n(r_match->mask, in prestera_flower_parse()
271 rule_match_set_n(r_match->mask, in prestera_flower_parse()
275 rule_match_set_n(r_match->key, in prestera_flower_parse()
277 rule_match_set_n(r_match->key, in prestera_flower_parse()
280 rule_match_set_n(r_match->mask, in prestera_flower_parse()
282 rule_match_set_n(r_match->mask, in prestera_flower_parse()
291 rule_match_set(r_match->key, IP_SRC, match.key->src); in prestera_flower_parse()
292 rule_match_set(r_match->mask, IP_SRC, match.mask->src); in prestera_flower_parse()
294 rule_match_set(r_match->key, IP_DST, match.key->dst); in prestera_flower_parse()
295 rule_match_set(r_match->mask, IP_DST, match.mask->dst); in prestera_flower_parse()
310 rule_match_set(r_match->key, L4_PORT_SRC, match.key->src); in prestera_flower_parse()
311 rule_match_set(r_match->mask, L4_PORT_SRC, match.mask->src); in prestera_flower_parse()
313 rule_match_set(r_match->key, L4_PORT_DST, match.key->dst); in prestera_flower_parse()
314 rule_match_set(r_match->mask, L4_PORT_DST, match.mask->dst); in prestera_flower_parse()
328 rule_match_set(r_match->key, L4_PORT_RANGE_SRC, tp_key); in prestera_flower_parse()
329 rule_match_set(r_match->mask, L4_PORT_RANGE_SRC, tp_mask); in prestera_flower_parse()
336 rule_match_set(r_match->key, L4_PORT_RANGE_DST, tp_key); in prestera_flower_parse()
337 rule_match_set(r_match->mask, L4_PORT_RANGE_DST, tp_mask); in prestera_flower_parse()
349 rule_match_set(r_match->key, VLAN_ID, key); in prestera_flower_parse()
350 rule_match_set(r_match->mask, VLAN_ID, mask); in prestera_flower_parse()
353 rule_match_set(r_match->key, VLAN_TPID, match.key->vlan_tpid); in prestera_flower_parse()
354 rule_match_set(r_match->mask, VLAN_TPID, match.mask->vlan_tpid); in prestera_flower_parse()
362 rule_match_set(r_match->key, ICMP_TYPE, match.key->type); in prestera_flower_parse()
363 rule_match_set(r_match->mask, ICMP_TYPE, match.mask->type); in prestera_flower_parse()
365 rule_match_set(r_match->key, ICMP_CODE, match.key->code); in prestera_flower_parse()
366 rule_match_set(r_match->mask, ICMP_CODE, match.mask->code); in prestera_flower_parse()