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)
commit2a5538e9aa4929329813bee69922c9ae4990fcad
tree66f4331151c6695ca4d0e174d0c233847de22862
parent65cd90ac765fb6960f1e3815cc31972fc4599c37
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