]> git.baikalelectronics.ru Git - kernel.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)
commite1ef01cba82a1e98e842a3df1a9504d5792f9f31
tree4a2875982feb3cad10ccb8f3da4a1f452bd1f068
parentc9f0d48f7a3d3659f9534d3d9010c8e25e972b99
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]