Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dnetfilter_ingress.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
Dnetfilter.h180 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
204 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
/Linux-v4.19/net/netfilter/
Dcore.c37 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; variable
38 EXPORT_SYMBOL(nf_hooks_needed);
351 static_key_slow_inc(&nf_hooks_needed[pf][reg->hooknum]); in __nf_register_net_hook()
409 static_key_slow_dec(&nf_hooks_needed[pf][reg->hooknum]); in __nf_unregister_net_hook()