Home
last modified time | relevance | path

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

/linux-6.1.9/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()
465 for (i = 0; i < old->num_hook_entries; i++) { in nf_remove_net_hook()
613 for (; s < e->num_hook_entries; s++) { in nf_hook_slow()
Dnf_queue.c262 while (i < hooks->num_hook_entries) { in nf_iterate()
315 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject()
Dnfnetlink_hook.c269 if ((unsigned long)e != ctx->headv || i >= e->num_hook_entries) in nfnl_hook_dump()
274 for (; i < e->num_hook_entries; i++) { in nfnl_hook_dump()
Dnf_nat_core.c750 for (i = 0; i < e->num_hook_entries; i++) { in nf_nat_inet_fn()
/linux-6.1.9/include/linux/
Dnetfilter.h108 u16 num_hook_entries; member
130 unsigned int n = e->num_hook_entries; in nf_hook_entries_get_hook_ops()
/linux-6.1.9/net/bridge/
Dbr_input.c254 for (i = 0; i < e->num_hook_entries; i++) { in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1017 for (i = 0; i < e->num_hook_entries; i++) { in br_nf_hook_thresh()