Home
last modified time | relevance | path

Searched refs:nf_loggers (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/net/netfilter/
Dnf_log.c50 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set()
52 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set()
65 log = nft_log_dereference(net->nf.nf_loggers[i]); in nf_log_unset()
67 RCU_INIT_POINTER(net->nf.nf_loggers[i], NULL); in nf_log_unset()
80 if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers)) in nf_log_register()
127 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_bind_pf()
134 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_bind_pf()
142 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_unbind_pf()
145 RCU_INIT_POINTER(net->nf.nf_loggers[pf], NULL); in nf_log_unbind_pf()
208 logger = rcu_dereference(net->nf.nf_loggers[pf]); in nf_log_packet()
[all …]
/linux-4.1.27/include/net/netns/
Dnetfilter.h13 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO]; member