diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-05-31 15:54:44 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-07 09:49:49 (GMT) |
commit | bbde9fc1824aab58bc78c084163007dd6c03fe5b (patch) | |
tree | 0ecee6dc528c65c342255cd9bd263594d294a687 /include/net/netfilter/ipv6/nf_dup_ipv6.h | |
parent | 24b7811fa5de7bbbab3b782a38889034ea267f70 (diff) | |
download | linux-bbde9fc1824aab58bc78c084163007dd6c03fe5b.tar.xz |
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>
Diffstat (limited to 'include/net/netfilter/ipv6/nf_dup_ipv6.h')
-rw-r--r-- | include/net/netfilter/ipv6/nf_dup_ipv6.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/netfilter/ipv6/nf_dup_ipv6.h b/include/net/netfilter/ipv6/nf_dup_ipv6.h new file mode 100644 index 0000000..ed6bd66 --- /dev/null +++ b/include/net/netfilter/ipv6/nf_dup_ipv6.h @@ -0,0 +1,7 @@ +#ifndef _NF_DUP_IPV6_H_ +#define _NF_DUP_IPV6_H_ + +void nf_dup_ipv6(struct sk_buff *skb, unsigned int hooknum, + const struct in6_addr *gw, int oif); + +#endif /* _NF_DUP_IPV6_H_ */ |