netfilter: nat: move specific NAT IPv4 to core
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Aug 2014 18:02:42 +0000 (20:02 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 2 Sep 2014 15:14:10 +0000 (17:14 +0200)
commit30766f4c2d60dd2a3fc67b7114174c417f43f4c6
tree97f866a78e816cccf8fa064f727ac52eb9fe432b
parentf111f780ae1abf4cdc464f24293be90c010a04f6
netfilter: nat: move specific NAT IPv4 to core

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

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l3proto.h
net/ipv4/netfilter/iptable_nat.c
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c