netfilter: refactor NAT redirect IPv6 code to use it from nf_tables
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Fri, 17 Oct 2014 10:37:52 +0000 (12:37 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Oct 2014 21:48:10 +0000 (22:48 +0100)
commit9de920eddb74bf67f1d6af603acc5ed05dcd35e9
tree096dea317cc6ee9d5de3b29b081e8a4968c51de0
parent8b13eddfdf04cbfa561725cfc42d6868fe896f56
netfilter: refactor NAT redirect IPv6 code to use it from nf_tables

This patch refactors the IPv6 code so it can be usable both from xt and
nf_tables.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/ipv6/nf_nat_redirect.h [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nf_nat_redirect_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/xt_REDIRECT.c