Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dnf_nat_core.c53 struct nat_net { struct
1078 struct nat_net *nat_net = net_generic(net, nat_net_id); in nf_nat_register_fn() local
1085 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()
1153 struct nat_net *nat_net = net_generic(net, nat_net_id); in nf_nat_unregister_fn() local
1160 if (pf >= ARRAY_SIZE(nat_net->nat_proto_net)) in nf_nat_unregister_fn()
1163 nat_proto_net = &nat_net->nat_proto_net[pf]; in nf_nat_unregister_fn()
1200 .size = sizeof(struct nat_net),