From: Harald Welte Date: Sun, 17 Feb 2002 21:32:13 +0000 (+0000) Subject: add new version of ipt_DSCP.h X-Git-Tag: v1.2.6~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96d960594e7db97568e478be884f205034d3a32f;p=thirdparty%2Fiptables.git add new version of ipt_DSCP.h --- diff --git a/include/linux/netfilter_ipv4/ipt_DSCP.h b/include/linux/netfilter_ipv4/ipt_DSCP.h index 439ffe94..361eb2af 100644 --- a/include/linux/netfilter_ipv4/ipt_DSCP.h +++ b/include/linux/netfilter_ipv4/ipt_DSCP.h @@ -6,13 +6,18 @@ * This software is distributed under GNU GPL v2, 1991 * * ipt_DSCP.h borrowed heavily from ipt_TOS.h 11/09/2000 + * + * $Id: ipt_DSCP.h,v 1.3 2002/02/17 19:56:28 laforge Exp $ */ #ifndef _IPT_DSCP_H #define _IPT_DSCP_H -#define IPT_DSCP_MASK 0x4f +#define IPT_DSCP_MASK 0xf4 /* 11111100 */ +#define IPT_DSCP_SHIFT 2 /* shift DSCP two bits for ECN */ +#define IPT_DSCP_MAX 0x3f /* 00111111 */ struct ipt_DSCP_info { u_int8_t dscp; }; +#endif /* _IPT_DSCP_H */