Searched refs:nf_loggers (Results 1 – 2 of 2) sorted by relevance
49 if (pf == NFPROTO_UNSPEC || pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_set()53 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set()55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set()70 log = nft_log_dereference(net->nf.nf_loggers[i]); in nf_log_unset()72 RCU_INIT_POINTER(net->nf.nf_loggers[i], NULL); in nf_log_unset()84 if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers)) in nf_log_register()131 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_bind_pf()138 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_bind_pf()146 if (pf >= ARRAY_SIZE(net->nf.nf_loggers)) in nf_log_unbind_pf()149 RCU_INIT_POINTER(net->nf.nf_loggers[pf], NULL); in nf_log_unbind_pf()[all …]
16 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO]; member