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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Aug 2015 09:49:49 +0000 (11:49 +0200)
commitbbde9fc1824aab58bc78c084163007dd6c03fe5b
tree0ecee6dc528c65c342255cd9bd263594d294a687
parent24b7811fa5de7bbbab3b782a38889034ea267f70
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>
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