Home
last modified time | relevance | path

Searched refs:hooks_arp (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/net/netns/
Dnetfilter.h23 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS]; member
/kernel/linux/linux-5.10/net/netfilter/
Dcore.c275 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_arp) <= hooknum)) in nf_hook_entry_head()
277 return net->nf.hooks_arp + hooknum; in nf_hook_entry_head()
719 __netfilter_net_init(net->nf.hooks_arp, ARRAY_SIZE(net->nf.hooks_arp)); in netfilter_net_init()
/kernel/linux/linux-5.10/include/linux/
Dnetfilter.h230 if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) in nf_hook()
232 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook()