summaryrefslogtreecommitdiff
path: root/include/linux/netfilter/xt_TEE.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-04-19 14:17:47 +0200
committerPatrick McHardy <kaber@trash.net>2010-04-19 14:17:47 +0200
commite281b19897dc21c1071802808d461627d747a877 (patch)
treee779b58643237f00305b016d6749825d7b3426f8 /include/linux/netfilter/xt_TEE.h
parentf0d57a54aa9fdf3a4d9435d44c69b20388ad0b3b (diff)
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/xt_TEE.h')
-rw-r--r--include/linux/netfilter/xt_TEE.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_TEE.h b/include/linux/netfilter/xt_TEE.h
new file mode 100644
index 000000000000..55d4a5011523
--- /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 */