Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/netns/
Dnetfilter.h19 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS]; member
/Linux-v5.15/net/netfilter/
Dcore.c296 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv4) <= hooknum)) in nf_hook_entry_head()
298 return net->nf.hooks_ipv4 + hooknum; in nf_hook_entry_head()
716 __netfilter_net_init(net->nf.hooks_ipv4, ARRAY_SIZE(net->nf.hooks_ipv4)); in netfilter_net_init()
Dnfnetlink_hook.c194 if (hook >= ARRAY_SIZE(net->nf.hooks_ipv4)) in nfnl_hook_entries_head()
196 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head()
Dnf_queue.c261 return rcu_dereference(net->nf.hooks_ipv4[hooknum]); in nf_hook_entries_head()
/Linux-v5.15/include/linux/
Dnetfilter.h229 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
328 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST()