Searched refs:hooks_ipv4 (Results 1 – 5 of 5) sorted by relevance
22 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS]; member
308 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()
250 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()
263 return rcu_dereference(net->nf.hooks_ipv4[hooknum]); in nf_hook_entries_head()
241 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()