Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dnf_nat_core.c50 struct nat_net { struct
994 struct nat_net *nat_net = net_generic(net, nat_net_id); in nf_nat_register_fn() local
1001 if (WARN_ON_ONCE(pf >= ARRAY_SIZE(nat_net->nat_proto_net))) in nf_nat_register_fn()
1004 nat_proto_net = &nat_net->nat_proto_net[pf]; in nf_nat_register_fn()
1069 struct nat_net *nat_net = net_generic(net, nat_net_id); in nf_nat_unregister_fn() local
1076 if (pf >= ARRAY_SIZE(nat_net->nat_proto_net)) in nf_nat_unregister_fn()
1079 nat_proto_net = &nat_net->nat_proto_net[pf]; in nf_nat_unregister_fn()
1116 .size = sizeof(struct nat_net),