Home
last modified time | relevance | path

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

/linux-6.14.4/include/linux/
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()
Dnetfilter.h208 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
234 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
328 !static_key_false(&nf_hooks_needed[pf][hook])) in NF_HOOK_LIST()
/linux-6.14.4/net/netfilter/
Dcore.c38 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS]; variable
39 EXPORT_SYMBOL(nf_hooks_needed);
377 static_key_slow_inc(&nf_hooks_needed[pf][hooknum]); in nf_static_key_inc()
392 static_key_slow_dec(&nf_hooks_needed[pf][hooknum]); in nf_static_key_dec()
/linux-6.14.4/net/bridge/
Dbr_input.c269 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()