Home
last modified time | relevance | path

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

/linux/include/net/netns/
H A Dnetfilter.h25 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS]; member
/linux/net/netfilter/
H A Dcore.c287 if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_arp) <= hooknum)) in nf_hook_entry_head()
289 return net->nf.hooks_arp + hooknum; in nf_hook_entry_head()
779 __netfilter_net_init(net->nf.hooks_arp, ARRAY_SIZE(net->nf.hooks_arp)); in netfilter_net_init()
H A Dnfnetlink_hook.c261 if (hook >= ARRAY_SIZE(net->nf.hooks_arp)) in nfnl_hook_entries_head()
263 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nfnl_hook_entries_head()
/linux/include/linux/
H A Dnetfilter.h248 if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) in nf_hook()
250 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook()