]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_tables: add new nft_masq expression
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Mon, 8 Sep 2014 11:45:00 +0000 (13:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Sep 2014 14:31:30 +0000 (16:31 +0200)
commit9ba1f726bec090399eb9bb9157eb32dedc8e8c45
tree4a2875982feb3cad10ccb8f3da4a1f452bd1f068
parentbe6b635cd674add9410efa9ac6f03e0040848b12
netfilter: nf_tables: add new nft_masq expression

The nft_masq expression is intended to perform NAT in the masquerade flavour.

We decided to have the masquerade functionality in a separated expression other
than nft_nat.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nft_masq.h [new file with mode: 0644]
include/uapi/linux/netfilter/nf_tables.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nft_masq_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nft_masq_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nft_masq.c [new file with mode: 0644]