Home
last modified time | relevance | path

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

/linux-6.6.21/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()
185 for (i = 0; i < hooks->num_hook_entries; i++) { in hooks_validate()
246 for (i = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
252 hook_entries = old->num_hook_entries; in __nf_hook_entries_try_shrink()
265 for (i = 0, j = 0; i < old->num_hook_entries; i++) { in __nf_hook_entries_try_shrink()
477 for (i = 0; i < old->num_hook_entries; i++) { in nf_remove_net_hook()
625 for (; s < e->num_hook_entries; s++) { in nf_hook_slow()
Dnf_queue.c260 while (i < hooks->num_hook_entries) { in nf_iterate()
313 if (WARN_ON_ONCE(!hooks || i >= hooks->num_hook_entries)) { in nf_reinject()
Dnfnetlink_hook.c324 if ((unsigned long)e != ctx->headv || i >= e->num_hook_entries) in nfnl_hook_dump()
329 for (; i < e->num_hook_entries; i++) { in nfnl_hook_dump()
Dnf_nat_core.c834 for (i = 0; i < e->num_hook_entries; i++) { in nf_nat_inet_fn()
/linux-6.6.21/include/linux/
Dnetfilter.h110 u16 num_hook_entries; member
132 unsigned int n = e->num_hook_entries; in nf_hook_entries_get_hook_ops()
/linux-6.6.21/net/bridge/
Dbr_input.c271 for (i = 0; i < e->num_hook_entries; i++) { in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1146 for (i = 0; i < e->num_hook_entries; i++) { in br_nf_hook_thresh()