Home
last modified time | relevance | path

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

/openbmc/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.h198 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
224 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
318 !static_key_false(&nf_hooks_needed[pf][hook])) in NF_HOOK_LIST()
/openbmc/linux/net/netfilter/
H A 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()
/openbmc/linux/net/bridge/
H A Dbr_input.c264 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()