summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_DSCP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_DSCP.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_DSCP.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_DSCP.h b/include/linux/netfilter_ipv4/ipt_DSCP.h
index 361eb2af..499fca49 100644
--- a/include/linux/netfilter_ipv4/ipt_DSCP.h
+++ b/include/linux/netfilter_ipv4/ipt_DSCP.h
@@ -1,23 +1,20 @@
-/* Set DSCP field
- *
- * (C) 2000-2002 by Matthew G. Marsh <mgm@paktronix.com>
- * Harald Welte <laforge@gnumonks.org>
+/* iptables module for setting the IPv4 DSCP field
*
+ * (C) 2002 Harald Welte <laforge@gnumonks.org>
+ * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com>
* This software is distributed under GNU GPL v2, 1991
*
- * ipt_DSCP.h borrowed heavily from ipt_TOS.h 11/09/2000
+ * See RFC2474 for a description of the DSCP field within the IP Header.
*
- * $Id: ipt_DSCP.h,v 1.3 2002/02/17 19:56:28 laforge Exp $
+ * Id: ipt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp
*/
-#ifndef _IPT_DSCP_H
-#define _IPT_DSCP_H
-
-#define IPT_DSCP_MASK 0xf4 /* 11111100 */
-#define IPT_DSCP_SHIFT 2 /* shift DSCP two bits for ECN */
-#define IPT_DSCP_MAX 0x3f /* 00111111 */
+#ifndef _IPT_DSCP_TARGET_H
+#define _IPT_DSCP_TARGET_H
+#include <linux/netfilter_ipv4/ipt_dscp.h>
+/* target info */
struct ipt_DSCP_info {
u_int8_t dscp;
};
-#endif /* _IPT_DSCP_H */
+#endif /* _IPT_DSCP_TARGET_H */