From owner-freebsd-net@FreeBSD.ORG Tue Sep 4 02:10:46 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86D2016A417 for ; Tue, 4 Sep 2007 02:10:46 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 0015813C45D for ; Tue, 4 Sep 2007 02:10:45 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 9B48E6910A0 for ; Tue, 4 Sep 2007 03:15:17 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 471FD6910A3; Tue, 4 Sep 2007 03:15:17 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local (87-196-23-68.net.novis.pt [87.196.23.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id 442686910A0 for ; Tue, 4 Sep 2007 03:15:12 +0100 (WEST) Message-ID: <46DCBE9A.60109@fnop.net> Date: Tue, 04 Sep 2007 03:10:34 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <46DCB831.3030207@fnop.net> In-Reply-To: <46DCB831.3030207@fnop.net> Content-Type: multipart/mixed; boundary="------------060102000708020701020409" X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: Killing IPTOS_CE and IPTOS_ECT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 02:10:46 -0000 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--