Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dnetfilter.h216 struct nf_hook_entries *hook_head = NULL; in nf_hook() local
229 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
232 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nf_hook()
238 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook()
243 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nf_hook()
251 if (hook_head) { in nf_hook()
257 ret = nf_hook_slow(skb, &state, hook_head, 0); in nf_hook()
311 struct nf_hook_entries *hook_head = NULL; in NF_HOOK_LIST() local
323 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST()
326 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in NF_HOOK_LIST()
[all …]
/linux-6.1.9/net/netfilter/
Dnfnetlink_hook.c188 const struct nf_hook_entries *hook_head = NULL; in nfnl_hook_entries_head() local
197 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head()
202 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nfnl_hook_entries_head()
208 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nfnl_hook_entries_head()
215 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nfnl_hook_entries_head()
244 return hook_head; in nfnl_hook_entries_head()