Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 18:36:19 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        Luigi Rizzo <luigi@info.iet.unipi.it>
Cc:        bmilekic@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: ip_input.c patch
Message-ID:  <200010110136.e9B1aJo40890@bubba.whistle.com>
In-Reply-To: <200010110053.CAA85156@info.iet.unipi.it> "from Luigi Rizzo at Oct 11, 2000 02:53:34 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo writes:
> > Does this patch look appropriate to you?
> 
> wouldn't it be better to just avoid the problem in the first place
> by removing the conversion to host format and fixing the rest
> of the code to handle things in net format ?

Sounds OK to me.. maybe some asm() guru can come up with some
fast functions for adding and subtracting byte-swapped values.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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