Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A 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()
H A 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()
H A Dnfnetlink_queue.c238 while (i < hooks->num_hook_entries) { in nf_iterate()
328 if (!hooks || i >= hooks->num_hook_entries) { in nf_reinject()
H A Dnf_nat_core.c953 for (i = 0; i < e->num_hook_entries; i++) { in nf_nat_inet_fn()
/linux/include/linux/
H A Dnetfilter.h120 u16 num_hook_entries; member
142 unsigned int n = e->num_hook_entries; in nf_hook_entries_get_hook_ops()
/linux/net/bridge/
H A Dbr_input.c276 for (i = 0; i < e->num_hook_entries; i++) { in nf_hook_bridge_pre()
H A Dbr_netfilter_hooks.c1174 for (i = 0; i < e->num_hook_entries; i++) { in br_nf_hook_thresh()