Home
last modified time | relevance | path

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

/Linux-v5.10/net/netfilter/
Dcore.c63 e->num_hook_entries = num; in allocate_hook_entries_size()
84 num = e->num_hook_entries; in nf_hook_entries_free()
114 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
173 for (i = 0; i < hooks->num_hook_entries; i++) { in hooks_validate()
234 for (i = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
240 hook_entries = old->num_hook_entries; in __nf_hook_entries_try_shrink()
253 for (i = 0, j = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
444 for (i = 0; i < old->num_hook_entries; i++) { in nf_remove_net_hook()
588 for (; s < e->num_hook_entries; s++) { in nf_hook_slow()
Dnf_queue.c245 while (i < hooks->num_hook_entries) { in nf_iterate()
298 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject()
Dnf_nat_core.c760 for (i = 0; i < e->num_hook_entries; i++) { in nf_nat_inet_fn()
/Linux-v5.10/include/linux/
Dnetfilter.h102 u16 num_hook_entries; member
124 unsigned int n = e->num_hook_entries; in nf_hook_entries_get_hook_ops()
/Linux-v5.10/net/bridge/
Dbr_input.c227 for (i = 0; i < e->num_hook_entries; i++) { in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1016 for (i = 0; i < e->num_hook_entries && in br_nf_hook_thresh()