]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5d8bc08c0b30bdadd1223c1c8500bb0c4905c05
tree97f866a78e816cccf8fa064f727ac52eb9fe432b
parentd7eb809d6a8ab5400e4feef8bfc05f7d0c320673
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