diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2014-10-17 10:37:52 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-27 21:48:10 (GMT) |
commit | 9de920eddb74bf67f1d6af603acc5ed05dcd35e9 (patch) | |
tree | 096dea317cc6ee9d5de3b29b081e8a4968c51de0 /include/net/netfilter | |
parent | 8b13eddfdf04cbfa561725cfc42d6868fe896f56 (diff) | |
download | linux-9de920eddb74bf67f1d6af603acc5ed05dcd35e9.tar.xz |
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>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/ipv6/nf_nat_redirect.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/netfilter/ipv6/nf_nat_redirect.h b/include/net/netfilter/ipv6/nf_nat_redirect.h new file mode 100644 index 0000000..1ebdffc --- /dev/null +++ b/include/net/netfilter/ipv6/nf_nat_redirect.h @@ -0,0 +1,8 @@ +#ifndef _NF_NAT_REDIRECT_IPV6_H_ +#define _NF_NAT_REDIRECT_IPV6_H_ + +unsigned int +nf_nat_redirect_ipv6(struct sk_buff *skb, const struct nf_nat_range *range, + unsigned int hooknum); + +#endif /* _NF_NAT_REDIRECT_IPV6_H_ */ |