]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nat: move specific NAT IPv6 to core
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Aug 2014 10:05:27 +0000 (12:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Sep 2014 14:30:00 +0000 (16:30 +0200)
commitb4266e3371df3371397c5b62f771aa57ce6d3e16
tree66f4331151c6695ca4d0e174d0c233847de22862
parentb23a3504fe6bcb223fafff10df84179a74b2a2b4
netfilter: nat: move specific NAT IPv6 to core

Move the specific NAT IPv6 core functions that are called from the
hooks from ip6table_nat.c to nf_nat_l3proto_ipv6.c. This prepares the
ground to allow iptables and nft to use the same NAT engine code that
comes in a follow up patch.

This also renames nf_nat_ipv6_fn to nft_nat_ipv6_fn in
net/ipv6/netfilter/nft_chain_nat_ipv6.c to avoid a compilation breakage.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l3proto.h
net/ipv6/netfilter/ip6table_nat.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/ipv6/netfilter/nft_chain_nat_ipv6.c