summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_DSCP.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-02-17 19:54:42 +0000
committerHarald Welte <laforge@gnumonks.org>2002-02-17 19:54:42 +0000
commit2e7377d3e21c0c93219eea0d38e2ee37308f6150 (patch)
tree757169f4b2ac26fa19cca7700b79bb7cd6573aaa /include/linux/netfilter_ipv4/ipt_DSCP.h
parent4ab10af3f549e1ea6492c768db3778816fff7f05 (diff)
add DSCP target support
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_DSCP.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_DSCP.h18
1 files changed, 18 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..439ffe94
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_DSCP.h
@@ -0,0 +1,18 @@
+/* Set DSCP field
+ *
+ * (C) 2000-2002 by Matthew G. Marsh <mgm@paktronix.com>
+ * Harald Welte <laforge@gnumonks.org>
+ *
+ * This software is distributed under GNU GPL v2, 1991
+ *
+ * ipt_DSCP.h borrowed heavily from ipt_TOS.h 11/09/2000
+*/
+#ifndef _IPT_DSCP_H
+#define _IPT_DSCP_H
+
+#define IPT_DSCP_MASK 0x4f
+
+struct ipt_DSCP_info {
+ u_int8_t dscp;
+};
+