Searched refs:nat_proto_net (Results 1 – 1 of 1) sorted by relevance
54 struct nf_nat_hooks_net nat_proto_net[NFPROTO_NUMPROTO]; member1079 struct nf_nat_hooks_net *nat_proto_net; in nf_nat_register_fn() local1085 if (WARN_ON_ONCE(pf >= ARRAY_SIZE(nat_net->nat_proto_net))) in nf_nat_register_fn()1088 nat_proto_net = &nat_net->nat_proto_net[pf]; in nf_nat_register_fn()1101 if (!nat_proto_net->nat_hook_ops) { in nf_nat_register_fn()1102 WARN_ON(nat_proto_net->users != 0); in nf_nat_register_fn()1132 nat_proto_net->nat_hook_ops = nat_ops; in nf_nat_register_fn()1135 nat_ops = nat_proto_net->nat_hook_ops; in nf_nat_register_fn()1144 nat_proto_net->users++; in nf_nat_register_fn()1154 struct nf_nat_hooks_net *nat_proto_net; in nf_nat_unregister_fn() local[all …]