Home
last modified time | relevance | path

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

/linux-5.19.10/net/netfilter/
Dcore.c225 unsigned int i, j, skip = 0, hook_entries; in __nf_hook_entries_try_shrink() local
240 hook_entries = old->num_hook_entries; in __nf_hook_entries_try_shrink()
241 if (skip == hook_entries) in __nf_hook_entries_try_shrink()
247 hook_entries -= skip; in __nf_hook_entries_try_shrink()
248 new = allocate_hook_entries_size(hook_entries); in __nf_hook_entries_try_shrink()
/linux-5.19.10/net/ipv4/netfilter/
Darp_tables.c456 const unsigned int *hook_entries, in check_entry_size_and_hooks() argument
484 if ((unsigned char *)e - base == hook_entries[h]) in check_entry_size_and_hooks()
485 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
Dip_tables.c593 const unsigned int *hook_entries, in check_entry_size_and_hooks() argument
621 if ((unsigned char *)e - base == hook_entries[h]) in check_entry_size_and_hooks()
622 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
/linux-5.19.10/net/ipv6/netfilter/
Dip6_tables.c611 const unsigned int *hook_entries, in check_entry_size_and_hooks() argument
639 if ((unsigned char *)e - base == hook_entries[h]) in check_entry_size_and_hooks()
640 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()