Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dcore.c62 e->num_hook_entries = num; in allocate_hook_entries_size()
83 num = e->num_hook_entries; in nf_hook_entries_free()
113 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
172 for (i = 0; i < hooks->num_hook_entries; i++) { in hooks_validate()
233 for (i = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
239 hook_entries = old->num_hook_entries; in __nf_hook_entries_try_shrink()
252 for (i = 0, j = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
374 for (i = 0; i < old->num_hook_entries; i++) { in nf_remove_net_hook()
510 for (; s < e->num_hook_entries; s++) { in nf_hook_slow()
Dnf_queue.c236 while (i < hooks->num_hook_entries) { in nf_iterate()
290 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject()
Dnf_nat_core.c585 for (i = 0; i < e->num_hook_entries; i++) { in nf_nat_inet_fn()
/Linux-v4.19/include/linux/
Dnetfilter.h86 u16 num_hook_entries; member
107 unsigned int n = e->num_hook_entries; in nf_hook_entries_get_hook_ops()
/Linux-v4.19/net/bridge/
Dbr_netfilter_hooks.c1003 for (i = 0; i < e->num_hook_entries && in br_nf_hook_thresh()