Home
last modified time | relevance | path

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

/net/netfilter/
Dcore.c231 unsigned int i, j, skip = 0, hook_entries; in __nf_hook_entries_try_shrink() local
246 hook_entries = old->num_hook_entries; in __nf_hook_entries_try_shrink()
247 if (skip == hook_entries) in __nf_hook_entries_try_shrink()
253 hook_entries -= skip; in __nf_hook_entries_try_shrink()
254 new = allocate_hook_entries_size(hook_entries); in __nf_hook_entries_try_shrink()
/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()
/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()