Lines Matching refs:match1
250 struct flow_match_control match1, match2; in nfp_ct_merge_check() local
252 flow_rule_match_control(entry1->rule, &match1); in nfp_ct_merge_check()
254 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
260 struct flow_match_basic match1, match2; in nfp_ct_merge_check() local
262 flow_rule_match_basic(entry1->rule, &match1); in nfp_ct_merge_check()
268 is_v6 = match1.key->n_proto == htons(ETH_P_IPV6); in nfp_ct_merge_check()
270 ip_proto = match1.key->ip_proto; in nfp_ct_merge_check()
272 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
283 struct flow_match_ipv4_addrs match1, match2; in nfp_ct_merge_check() local
285 flow_rule_match_ipv4_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
288 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
289 match1.key = get_mangled_key(entry1->rule, buf, in nfp_ct_merge_check()
291 sizeof(*match1.key), in nfp_ct_merge_check()
294 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
305 struct flow_match_ipv6_addrs match1, match2; in nfp_ct_merge_check() local
307 flow_rule_match_ipv6_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
310 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
311 match1.key = get_mangled_key(entry1->rule, buf, in nfp_ct_merge_check()
313 sizeof(*match1.key), in nfp_ct_merge_check()
316 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
328 struct flow_match_ports match1, match2; in nfp_ct_merge_check() local
330 flow_rule_match_ports(entry1->rule, &match1); in nfp_ct_merge_check()
338 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
339 match1.key = get_mangled_key(entry1->rule, buf, 0, in nfp_ct_merge_check()
340 sizeof(*match1.key), htype); in nfp_ct_merge_check()
342 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
348 struct flow_match_eth_addrs match1, match2; in nfp_ct_merge_check() local
350 flow_rule_match_eth_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
353 memcpy(buf, match1.key, sizeof(*match1.key)); in nfp_ct_merge_check()
354 match1.key = get_mangled_key(entry1->rule, buf, 0, in nfp_ct_merge_check()
355 sizeof(*match1.key), in nfp_ct_merge_check()
358 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
364 struct flow_match_vlan match1, match2; in nfp_ct_merge_check() local
366 flow_rule_match_vlan(entry1->rule, &match1); in nfp_ct_merge_check()
368 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
374 struct flow_match_mpls match1, match2; in nfp_ct_merge_check() local
376 flow_rule_match_mpls(entry1->rule, &match1); in nfp_ct_merge_check()
378 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
384 struct flow_match_tcp match1, match2; in nfp_ct_merge_check() local
386 flow_rule_match_tcp(entry1->rule, &match1); in nfp_ct_merge_check()
388 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
394 struct flow_match_ip match1, match2; in nfp_ct_merge_check() local
396 flow_rule_match_ip(entry1->rule, &match1); in nfp_ct_merge_check()
399 match1.key = get_mangled_tos_ttl(entry1->rule, buf, is_v6); in nfp_ct_merge_check()
400 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
406 struct flow_match_enc_keyid match1, match2; in nfp_ct_merge_check() local
408 flow_rule_match_enc_keyid(entry1->rule, &match1); in nfp_ct_merge_check()
410 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
416 struct flow_match_ipv4_addrs match1, match2; in nfp_ct_merge_check() local
418 flow_rule_match_enc_ipv4_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
420 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
426 struct flow_match_ipv6_addrs match1, match2; in nfp_ct_merge_check() local
428 flow_rule_match_enc_ipv6_addrs(entry1->rule, &match1); in nfp_ct_merge_check()
430 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
436 struct flow_match_control match1, match2; in nfp_ct_merge_check() local
438 flow_rule_match_enc_control(entry1->rule, &match1); in nfp_ct_merge_check()
440 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
446 struct flow_match_ip match1, match2; in nfp_ct_merge_check() local
448 flow_rule_match_enc_ip(entry1->rule, &match1); in nfp_ct_merge_check()
450 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()
456 struct flow_match_enc_opts match1, match2; in nfp_ct_merge_check() local
458 flow_rule_match_enc_opts(entry1->rule, &match1); in nfp_ct_merge_check()
460 COMPARE_UNMASKED_FIELDS(match1, match2, &out); in nfp_ct_merge_check()