David E. Cross writes:
> A friend writing some portable network tunneling software ran into an
> interesting thing... when you specify "IP_HDRINCL" with SOCK_RAW,  and
> IPPROTO_RAW you need to construct the outgoing packet in host byte order.
> 
> This seems wonderfully inconsistent with all of the other socket based
> networking interface in FreeBSD, and it is also inconsistent with other
> Operating Systems.   Would it be possible to get this changed?  I can provide
> diffs if need be.

I suspect most people agree it needs to be changed, but the problem is
(as usual) all the legacy code that would break.

Maybe if you had a temporary check in the kernel for backwards packets
that would cause a core dump.. ? Ugh.

-Archie

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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to