Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/netfilter/
Diptable_nat.c33 return ipt_do_table(skb, state, state->net->ipv4.nat_table); in iptable_nat_do_chain()
93 if (net->ipv4.nat_table) in iptable_nat_table_init()
100 NULL, &net->ipv4.nat_table); in iptable_nat_table_init()
108 ipt_unregister_table(net, net->ipv4.nat_table, NULL); in iptable_nat_table_init()
109 net->ipv4.nat_table = NULL; in iptable_nat_table_init()
118 if (net->ipv4.nat_table) in iptable_nat_net_pre_exit()
124 if (!net->ipv4.nat_table) in iptable_nat_net_exit()
126 ipt_unregister_table_exit(net, net->ipv4.nat_table); in iptable_nat_net_exit()
127 net->ipv4.nat_table = NULL; in iptable_nat_net_exit()
/kernel/linux/linux-5.10/include/net/netns/
Dipv4.h84 struct xt_table *nat_table; member