Home
last modified time | relevance | path

Searched refs:NFPROTO_NUMPROTO (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/net/netfilter/
Dnf_log.c21 static struct nf_logger __rcu *loggers[NFPROTO_NUMPROTO][NF_LOG_TYPE_MAX] __read_mostly;
68 for (i = 0; i < NFPROTO_NUMPROTO; i++) { in nf_log_unset()
89 for (i = NFPROTO_UNSPEC; i < NFPROTO_NUMPROTO; i++) { in nf_log_register()
95 for (i = NFPROTO_UNSPEC; i < NFPROTO_NUMPROTO; i++) in nf_log_register()
117 for (i = 0; i < NFPROTO_NUMPROTO; i++) { in nf_log_unregister()
400 static char nf_log_sysctl_fnames[NFPROTO_NUMPROTO-NFPROTO_UNSPEC][3];
401 static struct ctl_table nf_log_sysctl_table[NFPROTO_NUMPROTO+1];
478 for (i = NFPROTO_UNSPEC; i < NFPROTO_NUMPROTO; i++) { in netfilter_log_sysctl_init()
496 for (i = NFPROTO_UNSPEC; i < NFPROTO_NUMPROTO; i++) in netfilter_log_sysctl_init()
Dnf_nat_core.c39 static const struct nf_nat_l3proto __rcu *nf_nat_l3protos[NFPROTO_NUMPROTO]
41 static const struct nf_nat_l4proto __rcu **nf_nat_l4protos[NFPROTO_NUMPROTO]
61 struct nf_nat_hooks_net nat_proto_net[NFPROTO_NUMPROTO];
1094 for (i = 0; i < NFPROTO_NUMPROTO; i++) in nf_nat_cleanup()
Dx_tables.c64 static const char *const xt_prefix[NFPROTO_NUMPROTO] = {
1875 for (i = 0; i < NFPROTO_NUMPROTO; i++) in xt_net_init()
1884 for (i = 0; i < NFPROTO_NUMPROTO; i++) in xt_net_exit()
1902 xt = kmalloc_array(NFPROTO_NUMPROTO, sizeof(struct xt_af), GFP_KERNEL); in xt_init()
1906 for (i = 0; i < NFPROTO_NUMPROTO; i++) { in xt_init()
Dnf_conntrack_proto.c46 static struct nf_conntrack_l4proto __rcu **nf_ct_protos[NFPROTO_NUMPROTO] __read_mostly;
130 if (unlikely(l3proto >= NFPROTO_NUMPROTO || nf_ct_protos[l3proto] == NULL)) in __nf_ct_l4proto_find()
Dcore.c37 struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
Dnf_tables_api.c444 static const struct nft_chain_type *chain_type[NFPROTO_NUMPROTO][NFT_CHAIN_T_MAX];
1017 if (WARN_ON(ctype->family >= NFPROTO_NUMPROTO)) in nft_register_chain_type()
/Linux-v4.19/include/net/netns/
Dx_tables.h11 struct list_head tables[NFPROTO_NUMPROTO];
Dnetfilter.h16 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
/Linux-v4.19/include/uapi/linux/
Dnetfilter.h69 NFPROTO_NUMPROTO, enumerator
/Linux-v4.19/include/linux/
Dnetfilter.h180 extern struct static_key nf_hooks_needed[NFPROTO_NUMPROTO][NF_MAX_HOOKS];