Home
last modified time | relevance | path

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

/net/ipv6/netfilter/
Dip6table_nat.c70 struct ip6table_nat_pernet *xt_nat_net; in ip6t_nat_register_lookups() local
79 xt_nat_net = net_generic(net, ip6table_nat_net_id); in ip6t_nat_register_lookups()
96 xt_nat_net->nf_nat_ops = ops; in ip6t_nat_register_lookups()
102 struct ip6table_nat_pernet *xt_nat_net = net_generic(net, ip6table_nat_net_id); in ip6t_nat_unregister_lookups() local
103 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ip6t_nat_unregister_lookups()
/net/ipv4/netfilter/
Diptable_nat.c68 struct iptable_nat_pernet *xt_nat_net; in ipt_nat_register_lookups() local
73 xt_nat_net = net_generic(net, iptable_nat_net_id); in ipt_nat_register_lookups()
94 xt_nat_net->nf_nat_ops = ops; in ipt_nat_register_lookups()
100 struct iptable_nat_pernet *xt_nat_net = net_generic(net, iptable_nat_net_id); in ipt_nat_unregister_lookups() local
101 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ipt_nat_unregister_lookups()