summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_dscp.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_dscp.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_dscp.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_dscp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_dscp.h b/include/linux/netfilter_ipv4/ipt_dscp.h
new file mode 100644
index 00000000..4b82ca91
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_dscp.h
@@ -0,0 +1,21 @@
+/* iptables module for matching the IPv4 DSCP field
+ *
+ * (C) 2002 Harald Welte <laforge@gnumonks.org>
+ * This software is distributed under GNU GPL v2, 1991
+ *
+ * See RFC2474 for a description of the DSCP field within the IP Header.
+ *
+ * ipt_dscp.h,v 1.3 2002/08/05 19:00:21 laforge Exp
+*/
+#ifndef _IPT_DSCP_H
+#define _IPT_DSCP_H
+
+#include <linux/netfilter/xt_dscp.h>
+
+#define IPT_DSCP_MASK XT_DSCP_MASK
+#define IPT_DSCP_SHIFT XT_DSCP_SHIFT
+#define IPT_DSCP_MAX XT_DSCP_MAX
+
+#define ipt_dscp_info xt_dscp_info
+
+#endif /* _IPT_DSCP_H */