summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_tos.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-02-11 01:23:01 +0100
committerPatrick McHardy <kaber@trash.net>2008-04-14 08:49:38 +0200
commitca7cd666949b68bf41a32de38ee38e332e89863b (patch)
treeed71bef42050e949bf38c443d1cfb1e175100197 /include/linux/netfilter_ipv4/ipt_tos.h
parent8d458beec463e0b16467ee4649d4575377854fd7 (diff)
Add all necessary header files - compilation fix for various cases
Allow iptables to compile without a kernel source tree. This implies fixing build for older kernels, such as 2.6.17 which lack xt_SECMARK.h.
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_tos.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_tos.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_tos.h b/include/linux/netfilter_ipv4/ipt_tos.h
new file mode 100644
index 00000000..a21f5df2
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_tos.h
@@ -0,0 +1,13 @@
+#ifndef _IPT_TOS_H
+#define _IPT_TOS_H
+
+struct ipt_tos_info {
+ u_int8_t tos;
+ u_int8_t invert;
+};
+
+#ifndef IPTOS_NORMALSVC
+#define IPTOS_NORMALSVC 0
+#endif
+
+#endif /*_IPT_TOS_H*/