Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dnetfilter_netdev.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
57 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_EGRESS])) in nf_hook_egress_active()
H A Dnetfilter.h212 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
238 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
332 !static_key_false(&nf_hooks_needed[pf][hook])) in NF_HOOK_LIST()
/linux/net/netfilter/
H A Dcore.c35 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; variable
36 EXPORT_SYMBOL(nf_hooks_needed);
374 static_key_slow_inc(&nf_hooks_needed[pf][hooknum]); in nf_static_key_inc()
389 static_key_slow_dec(&nf_hooks_needed[pf][hooknum]); in nf_static_key_dec()
/linux/net/bridge/
H A Dbr_input.c278 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()