tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IP_HDRINCL byte ordering



I should add that while this is shed color perhaps, I don't like
IP_HDRINCL_RAW as a name.  The difference is just byte order of two
fields.

Thus, perhaps IP_HDRINCL_NBO which doesn't make sense, but will lead to
looking up and seeing network byte order.

As to Michael's comment, I interpret the patch as keeping the historical
behavior and adding a new setsockopt, which while it will have a
different name than used on other systems, should enable modifying their
code to not have to htons differently, after some number of years.

Given that, I don't see why NetBSD base code should change.



(Regardless of what we do or don't change, improving the docs seems good.)


Home | Main Index | Thread Index | Old Index