Home
last modified time | relevance | path

Searched refs:old_rules (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/net/netfilter/
Dnft_set_pipapo.c620 static int pipapo_resize(struct nft_pipapo_field *f, int old_rules, int rules) in pipapo_resize() argument
671 memcpy(new_mt, f->mt, min(old_rules, rules) * sizeof(*new_mt)); in pipapo_resize()
672 if (rules > old_rules) { in pipapo_resize()
673 memset(new_mt + old_rules, 0, in pipapo_resize()
674 (rules - old_rules) * sizeof(*new_mt)); in pipapo_resize()