From owner-svn-src-user@FreeBSD.ORG Mon Dec 28 20:26:37 2009 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A8A106568F for ; Mon, 28 Dec 2009 20:26:37 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id B950A8FC17 for ; Mon, 28 Dec 2009 20:26:37 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 50D8EC93D5; Mon, 28 Dec 2009 15:09:46 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 28 Dec 2009 15:09:46 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpout; bh=ZbiAiBWs4fahWmjxcaOLqsfqO0w=; b=WQKkcfJzfQJURbvm4gBcUFjqATnInvqGw32NUAOwkibeoeLvug98E4bglHKNAzIzAh7WSEBAi6OCKmPhfYx+P0MKpltwS69MaTZnYiU63WMYOJhauIAOEF6YjOUf2LQ6R74dKDMXRddzBY2CdRYGjaFzZN9xFquxJoma9KYwLGg= X-Sasl-enc: 9W6WUYNS0U5mPuhoVXj1ZtYmh3NnpgskyQLDQxebxECc 1262030986 Received: from [192.168.123.18] (cpc2-dals7-0-0-cust253.hari.cable.virginmedia.com [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 902722CD34; Mon, 28 Dec 2009 15:09:45 -0500 (EST) Message-ID: <4B391088.1030107@incunabulum.net> Date: Mon, 28 Dec 2009 20:09:44 +0000 From: Bruce Simpson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Julian Elischer References: <200912271917.nBRJH3WH064688@svn.freebsd.org> <4B37C66D.9040505@elischer.org> In-Reply-To: <4B37C66D.9040505@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Luigi Rizzo , src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r201057 - in user/luigi/ipfw3-head/sys/netinet: . ipfw X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 20:26:38 -0000 On 27/12/2009 20:41, Julian Elischer wrote: > Luigi Rizzo wrote: >> Author: luigi >> Date: Sun Dec 27 19:17:03 2009 >> New Revision: 201057 >> URL: http://svn.freebsd.org/changeset/base/201057 >> >> Log: >> Historically, BSD keeps ip_len and ip_off in host format when doing >> layer 3 processing. This often requires to translate the format >> back and forth. > > [...] > >> Eventually, I would like these fields to remain in network format >> across the lifetime of a packet, but this may take a long time, >> so let's see if we can find ways to at least make the switch easier. > > > I think I'd go for this sooner than later. It's always annoyed me. +1. It is a bit of a kicker for portability with other BSDs, and I wonder how much we actually gain with using host endian in IPv4, as opposed to tripping over it all the time.