Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 20:09:44 +0000
From:      Bruce Simpson <bms@incunabulum.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        Luigi Rizzo <luigi@FreeBSD.org>, src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   Re: svn commit: r201057 - in user/luigi/ipfw3-head/sys/netinet: . ipfw
Message-ID:  <4B391088.1030107@incunabulum.net>
In-Reply-To: <4B37C66D.9040505@elischer.org>
References:  <200912271917.nBRJH3WH064688@svn.freebsd.org> <4B37C66D.9040505@elischer.org>

index | next in thread | previous in thread | raw e-mail

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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B391088.1030107>