Subject: Re: placement of PFIL_HOOKS filtering points
To: None <thorpej@zembu.com>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-net
Date: 11/08/2000 00:33:25
In some email I received from Jason R Thorpe, sie wrote:
> On Tue, Nov 07, 2000 at 03:13:52PM +0900, itojun@iijlab.net wrote:
>
> > yes, and don't play with data on mbuf.
>
> Yah, that'd be nice.
>
> > then ping and other IP_HDRINCL applications will not work....
>
> Well...
>
> If we allocated a new socket option number, the old one could get
> swapped, and the new one could not :-).
For this one specific application you're building, jason, how many
other applications are you going to effect ?
Since you seem to be the only one needing the fields in network order,
shouldn't you be using a wrapper which does the byte swapping for you?
At least that way you fix your "ip_output.c" problem too.
Darren