Date: Tue, 04 Sep 2007 03:10:34 +0100 From: Rui Paulo <rpaulo@fnop.net> To: freebsd-net@freebsd.org Subject: Re: Killing IPTOS_CE and IPTOS_ECT Message-ID: <46DCBE9A.60109@fnop.net> In-Reply-To: <46DCB831.3030207@fnop.net> References: <46DCB831.3030207@fnop.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060102000708020701020409
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Rui Paulo wrote:
> The only consumer of the RFC 2481 defines is sbin/ipfw/ipfw2.c and
> luigi@ accepted the attached patch.
Here's the attached patch.
--
Rui Paulo
--------------060102000708020701020409
Content-Type: text/plain; x-mac-type="54455854"; x-mac-creator="74747874";
name="ipfw2-ecn.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ipfw2-ecn.diff"
Index: ipfw2.c
===================================================================
RCS file: /home/ncvs/src/sbin/ipfw/ipfw2.c,v
retrieving revision 1.107
diff -u -p -r1.107 ipfw2.c
--- ipfw2.c 26 Aug 2007 18:38:31 -0000 1.107
+++ ipfw2.c 3 Sep 2007 00:27:39 -0000
@@ -179,8 +179,8 @@ static struct _s_x f_iptos[] = {
{ "throughput", IPTOS_THROUGHPUT},
{ "reliability", IPTOS_RELIABILITY},
{ "mincost", IPTOS_MINCOST},
- { "congestion", IPTOS_CE},
- { "ecntransport", IPTOS_ECT},
+ { "congestion", IPTOS_ECN_CE},
+ { "ecntransport", IPTOS_ECN_ECT0},
{ "ip tos option", 0},
{ NULL, 0 }
};
--------------060102000708020701020409--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46DCBE9A.60109>
