Searched refs:xt_nat_net (Results 1 – 2 of 2) sorted by relevance
70 struct ip6table_nat_pernet *xt_nat_net; in ip6t_nat_register_lookups() local79 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() local103 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ip6t_nat_unregister_lookups()
68 struct iptable_nat_pernet *xt_nat_net; in ipt_nat_register_lookups() local73 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() local101 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ipt_nat_unregister_lookups()