Home
last modified time | relevance | path

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

/linux/include/net/netns/
H A Dnetfilter.h22 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS]; member
/linux/net/netfilter/
H A Dcore.c308 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv4) <= hooknum)) in nf_hook_entry_head()
310 return net->nf.hooks_ipv4 + hooknum; in nf_hook_entry_head()
776 __netfilter_net_init(net->nf.hooks_ipv4, ARRAY_SIZE(net->nf.hooks_ipv4)); in netfilter_net_init()
H A Dnfnetlink_hook.c250 if (hook >= ARRAY_SIZE(net->nf.hooks_ipv4)) in nfnl_hook_entries_head()
252 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head()
H A Dnfnetlink_queue.c263 return rcu_dereference(net->nf.hooks_ipv4[hooknum]); in nf_hook_entries_head()
/linux/include/linux/
H A Dnetfilter.h241 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
335 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST()