netfilter: nft_chain_nat_ipv4: use generic IPv4 NAT code from core
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Aug 2014 18:14:30 +0000 (20:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 2 Sep 2014 15:14:11 +0000 (17:14 +0200)
commit65cd90ac765fb6960f1e3815cc31972fc4599c37
tree126965c29a862014d7d042f9e5657d3f17870518
parent30766f4c2d60dd2a3fc67b7114174c417f43f4c6
netfilter: nft_chain_nat_ipv4: use generic IPv4 NAT code from core

Use the exported IPv4 NAT functions that are provided by the core. This
removes duplicated code so iptables and nft use the same NAT codebase.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nft_chain_nat_ipv4.c