Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/netfilter/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetfilter_ingress.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
H A Dnetfilter.h193 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
219 !static_key_false(&nf_hooks_needed[pf][hook])) in nf_hook()
318 !static_key_false(&nf_hooks_needed[pf][hook])) in NF_HOOK_LIST()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_input.c222 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()