Lines Matching refs:nft_match
1484 struct nf_flow_match *nft_match = NULL; in nfp_fl_ct_add_flow() local
1504 nft_match = kzalloc(sizeof(*nft_match), GFP_KERNEL); in nfp_fl_ct_add_flow()
1505 if (!nft_match) { in nfp_fl_ct_add_flow()
1509 memcpy(&nft_match->dissector, flow->rule->match.dissector, in nfp_fl_ct_add_flow()
1510 sizeof(nft_match->dissector)); in nfp_fl_ct_add_flow()
1511 memcpy(&nft_match->mask, flow->rule->match.mask, in nfp_fl_ct_add_flow()
1512 sizeof(nft_match->mask)); in nfp_fl_ct_add_flow()
1513 memcpy(&nft_match->key, flow->rule->match.key, in nfp_fl_ct_add_flow()
1514 sizeof(nft_match->key)); in nfp_fl_ct_add_flow()
1515 entry->rule->match.dissector = &nft_match->dissector; in nfp_fl_ct_add_flow()
1516 entry->rule->match.mask = &nft_match->mask; in nfp_fl_ct_add_flow()
1517 entry->rule->match.key = &nft_match->key; in nfp_fl_ct_add_flow()
1600 kfree(nft_match); in nfp_fl_ct_add_flow()
1724 struct nf_flow_match *nft_match; in nfp_fl_ct_clean_flow_entry() local
1726 nft_match = container_of(entry->rule->match.dissector, in nfp_fl_ct_clean_flow_entry()
1728 kfree(nft_match); in nfp_fl_ct_clean_flow_entry()