]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: factor out packet duplication for IPv4/IPv6
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 31 May 2015 15:54:44 +0000 (17:54 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 28 May 2017 02:44:18 +0000 (19:44 -0700)
commitd348df791c4f1d0d392805bb73c348d1dbc6a01a
tree881b970c18fac55a17f75a3651568d2396bbc19f
parent242fca92a9b21b940cb8dff9c28635464f0b9696
netfilter: factor out packet duplication for IPv4/IPv6

Extracted from the xtables TEE target. This creates two new modules for IPv4
and IPv6 that are shared between the TEE target and the new nf_tables dup
expressions.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit bbde9fc1824aab58bc78c084163007dd6c03fe5b)

Orabug: 24694570

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Reviewed-by: Dhaval Giani <dhaval.giani@oracle.com>
include/net/netfilter/ipv4/nf_dup_ipv4.h [new file with mode: 0644]
include/net/netfilter/ipv6/nf_dup_ipv6.h [new file with mode: 0644]
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_dup_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nf_dup_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/xt_TEE.c