Lines Matching refs:match1
262 struct flow_match_control match1, match2; in nfp_ct_merge_check() local
264 flow_rule_match_control(entry1->rule, &match1); in nfp_ct_merge_check()
266 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
272 struct flow_match_basic match1, match2; in nfp_ct_merge_check() local
274 flow_rule_match_basic(entry1->rule, &match1); in nfp_ct_merge_check()
280 is_v6 = match1.key->n_proto == htons(ETH_P_IPV6); in nfp_ct_merge_check()
282 ip_proto = match1.key->ip_proto; in nfp_ct_merge_check()
284 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
295 struct flow_match_ipv4_addrs match1, match2; in nfp_ct_merge_check() local
297 flow_rule_match_ipv4_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
300 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
301 match1.key = get_mangled_key(entry1->rule, buf, in nfp_ct_merge_check()
303 sizeof(*match1.key), in nfp_ct_merge_check()
306 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
317 struct flow_match_ipv6_addrs match1, match2; in nfp_ct_merge_check() local
319 flow_rule_match_ipv6_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
322 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
323 match1.key = get_mangled_key(entry1->rule, buf, in nfp_ct_merge_check()
325 sizeof(*match1.key), in nfp_ct_merge_check()
328 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
340 struct flow_match_ports match1, match2; in nfp_ct_merge_check() local
342 flow_rule_match_ports(entry1->rule, &match1); in nfp_ct_merge_check()
350 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
351 match1.key = get_mangled_key(entry1->rule, buf, 0, in nfp_ct_merge_check()
352 sizeof(*match1.key), htype); in nfp_ct_merge_check()
354 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
360 struct flow_match_eth_addrs match1, match2; in nfp_ct_merge_check() local
362 flow_rule_match_eth_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
365 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
366 match1.key = get_mangled_key(entry1->rule, buf, 0, in nfp_ct_merge_check()
367 sizeof(*match1.key), in nfp_ct_merge_check()
370 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
376 struct flow_match_vlan match1, match2; in nfp_ct_merge_check() local
378 flow_rule_match_vlan(entry1->rule, &match1); in nfp_ct_merge_check()
380 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
386 struct flow_match_mpls match1, match2; in nfp_ct_merge_check() local
388 flow_rule_match_mpls(entry1->rule, &match1); in nfp_ct_merge_check()
390 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
396 struct flow_match_tcp match1, match2; in nfp_ct_merge_check() local
398 flow_rule_match_tcp(entry1->rule, &match1); in nfp_ct_merge_check()
400 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
406 struct flow_match_ip match1, match2; in nfp_ct_merge_check() local
408 flow_rule_match_ip(entry1->rule, &match1); in nfp_ct_merge_check()
411 match1.key = get_mangled_tos_ttl(entry1->rule, buf, is_v6); in nfp_ct_merge_check()
412 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
418 struct flow_match_enc_keyid match1, match2; in nfp_ct_merge_check() local
420 flow_rule_match_enc_keyid(entry1->rule, &match1); in nfp_ct_merge_check()
422 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
428 struct flow_match_ipv4_addrs match1, match2; in nfp_ct_merge_check() local
430 flow_rule_match_enc_ipv4_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
432 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
438 struct flow_match_ipv6_addrs match1, match2; in nfp_ct_merge_check() local
440 flow_rule_match_enc_ipv6_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
442 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
448 struct flow_match_control match1, match2; in nfp_ct_merge_check() local
450 flow_rule_match_enc_control(entry1->rule, &match1); in nfp_ct_merge_check()
452 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
458 struct flow_match_ip match1, match2; in nfp_ct_merge_check() local
460 flow_rule_match_enc_ip(entry1->rule, &match1); in nfp_ct_merge_check()
462 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
468 struct flow_match_enc_opts match1, match2; in nfp_ct_merge_check() local
470 flow_rule_match_enc_opts(entry1->rule, &match1); in nfp_ct_merge_check()
472 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()