diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-04-19 14:17:47 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-04-19 14:17:47 +0200 |
commit | e281b19897dc21c1071802808d461627d747a877 (patch) | |
tree | e779b58643237f00305b016d6749825d7b3426f8 /include/linux/netfilter | |
parent | f0d57a54aa9fdf3a4d9435d44c69b20388ad0b3b (diff) | |
download | kernel_samsung_espresso10-e281b19897dc21c1071802808d461627d747a877.zip kernel_samsung_espresso10-e281b19897dc21c1071802808d461627d747a877.tar.gz kernel_samsung_espresso10-e281b19897dc21c1071802808d461627d747a877.tar.bz2 |
netfilter: xtables: inclusion of xt_TEE
xt_TEE can be used to clone and reroute a packet. This can for
example be used to copy traffic at a router for logging purposes
to another dedicated machine.
References: http://www.gossamer-threads.com/lists/iptables/devel/68781
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/Kbuild | 1 | ||||
-rw-r--r-- | include/linux/netfilter/xt_TEE.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/netfilter/Kbuild b/include/linux/netfilter/Kbuild index a5a63e4..48767cd 100644 --- a/include/linux/netfilter/Kbuild +++ b/include/linux/netfilter/Kbuild @@ -16,6 +16,7 @@ header-y += xt_RATEEST.h header-y += xt_SECMARK.h header-y += xt_TCPMSS.h header-y += xt_TCPOPTSTRIP.h +header-y += xt_TEE.h header-y += xt_TPROXY.h header-y += xt_comment.h header-y += xt_connbytes.h diff --git a/include/linux/netfilter/xt_TEE.h b/include/linux/netfilter/xt_TEE.h new file mode 100644 index 0000000..55d4a50 --- /dev/null +++ b/include/linux/netfilter/xt_TEE.h @@ -0,0 +1,9 @@ +#ifndef _XT_TEE_TARGET_H +#define _XT_TEE_TARGET_H + +struct xt_tee_tginfo { + union nf_inet_addr gw; + char oif[16]; +}; + +#endif /* _XT_TEE_TARGET_H */ |