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.

--
David Cross                               | email: cro...@cs.rpi.edu 
Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd 
Rensselaer Polytechnic Institute,         | Ph: 518.276.2860            
Department of Computer Science            | Fax: 518.276.4033
I speak only for myself.                  | WinNT:Linux::Linux:FreeBSD


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to