Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dnetfilter_ingress.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
Dnetfilter.h190 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
216 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
315 !static_key_false(&nf_hooks_needed[pf][hook])) in NF_HOOK_LIST()
/Linux-v5.10/net/netfilter/
Dcore.c38 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; variable
39 EXPORT_SYMBOL(nf_hooks_needed);
358 static_key_slow_inc(&nf_hooks_needed[pf][hooknum]); in nf_static_key_inc()
373 static_key_slow_dec(&nf_hooks_needed[pf][hooknum]); in nf_static_key_dec()
/Linux-v5.10/net/bridge/
Dbr_input.c215 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()