Lines Matching refs:nft_match
1419 struct nf_flow_match *nft_match = NULL; in nfp_fl_ct_add_flow() local
1439 nft_match = kzalloc(sizeof(*nft_match), GFP_KERNEL); in nfp_fl_ct_add_flow()
1440 if (!nft_match) { in nfp_fl_ct_add_flow()
1444 memcpy(&nft_match->dissector, flow->rule->match.dissector, in nfp_fl_ct_add_flow()
1445 sizeof(nft_match->dissector)); in nfp_fl_ct_add_flow()
1446 memcpy(&nft_match->mask, flow->rule->match.mask, in nfp_fl_ct_add_flow()
1447 sizeof(nft_match->mask)); in nfp_fl_ct_add_flow()
1448 memcpy(&nft_match->key, flow->rule->match.key, in nfp_fl_ct_add_flow()
1449 sizeof(nft_match->key)); in nfp_fl_ct_add_flow()
1450 entry->rule->match.dissector = &nft_match->dissector; in nfp_fl_ct_add_flow()
1451 entry->rule->match.mask = &nft_match->mask; in nfp_fl_ct_add_flow()
1452 entry->rule->match.key = &nft_match->key; in nfp_fl_ct_add_flow()
1532 kfree(nft_match); in nfp_fl_ct_add_flow()
1648 struct nf_flow_match *nft_match; in nfp_fl_ct_clean_flow_entry() local
1650 nft_match = container_of(entry->rule->match.dissector, in nfp_fl_ct_clean_flow_entry()
1652 kfree(nft_match); in nfp_fl_ct_clean_flow_entry()