Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnf_nat_core.c61 struct nf_nat_hooks_net nat_proto_net[NFPROTO_NUMPROTO]; member
908 struct nf_nat_hooks_net *nat_proto_net; in nf_nat_register_fn() local
914 if (WARN_ON_ONCE(ops->pf >= ARRAY_SIZE(nat_net->nat_proto_net))) in nf_nat_register_fn()
917 nat_proto_net = &nat_net->nat_proto_net[ops->pf]; in nf_nat_register_fn()
932 if (!nat_proto_net->nat_hook_ops) { in nf_nat_register_fn()
933 WARN_ON(nat_proto_net->users != 0); in nf_nat_register_fn()
963 nat_proto_net->nat_hook_ops = nat_ops; in nf_nat_register_fn()
966 nat_ops = nat_proto_net->nat_hook_ops; in nf_nat_register_fn()
975 nat_proto_net->users++; in nf_nat_register_fn()
986 struct nf_nat_hooks_net *nat_proto_net; in nf_nat_unregister_fn() local
[all …]