Home
last modified time | relevance | path

Searched refs:hook_head (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dnetfilter.h228 struct nf_hook_entries *hook_head = NULL; in nf_hook() local
241 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
244 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nf_hook()
250 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook()
255 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nf_hook()
263 if (hook_head) { in nf_hook()
269 ret = nf_hook_slow(skb, &state, hook_head, 0); in nf_hook()
323 struct nf_hook_entries *hook_head = NULL; in NF_HOOK_LIST() local
335 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST()
338 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in NF_HOOK_LIST()
[all …]
/linux/net/netfilter/
H A Dnfnetlink_hook.c243 const struct nf_hook_entries *hook_head = NULL; in nfnl_hook_entries_head() local
252 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head()
257 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nfnl_hook_entries_head()
263 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nfnl_hook_entries_head()
270 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nfnl_hook_entries_head()
299 return hook_head; in nfnl_hook_entries_head()