Re: raw socket, IP_HDRINCL byteorder

Bill Sommerfeld <[email protected]> Tue, 24 Sep 2002 22:06:32 -0400
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
> I'd like to see a well-defined, portable raw socket interface (don't forget
> raw input, where the IP header is always included so you can't tell the
> desired behavior from IP_OHDRINCL / IP_HDRINCL).  I think that the right
> thing to do is introduce a new socket option that sets raw sockets to behave
> in the new way, and not try to overload IP_HDRINCL, whose behavior is
> too OS-specific.  IP_RAW_PKTS_HAVE_NETWORK_BYTE_ORDER, except that's too
> long =)

Okay, if we have to pick a name, how about IP_HDR_RAW?

					- Bill




---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/[email protected]