summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_TPROXY.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-03 20:15:35 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-03 21:35:14 +0100
commitb4af04be14560b3fcc6cf23200148d408014a2f5 (patch)
tree5f67c1366518446e223313d0e341013bb6e56a53 /include/linux/netfilter/xt_TPROXY.h
parent2d68ae7ce6e40e3977ee11a57296cf76801ae320 (diff)
include: update files with headers from Linux 2.6.37-rc1
Also includes the type change to __u{8,16,32} kernel types already.
Diffstat (limited to 'include/linux/netfilter/xt_TPROXY.h')
-rw-r--r--include/linux/netfilter/xt_TPROXY.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/include/linux/netfilter/xt_TPROXY.h b/include/linux/netfilter/xt_TPROXY.h
index 152e8f97..8097e0b4 100644
--- a/include/linux/netfilter/xt_TPROXY.h
+++ b/include/linux/netfilter/xt_TPROXY.h
@@ -1,14 +1,21 @@
-#ifndef _XT_TPROXY_H_target
-#define _XT_TPROXY_H_target
+#ifndef _XT_TPROXY_H
+#define _XT_TPROXY_H
/* TPROXY target is capable of marking the packet to perform
* redirection. We can get rid of that whenever we get support for
* mutliple targets in the same rule. */
struct xt_tproxy_target_info {
- u_int32_t mark_mask;
- u_int32_t mark_value;
+ __u32 mark_mask;
+ __u32 mark_value;
__be32 laddr;
__be16 lport;
};
-#endif /* _XT_TPROXY_H_target */
+struct xt_tproxy_target_info_v1 {
+ __u32 mark_mask;
+ __u32 mark_value;
+ union nf_inet_addr laddr;
+ __be16 lport;
+};
+
+#endif /* _XT_TPROXY_H */