On Fri, Mar 04, 2011 at 01:09:23AM -0800, per...@pluto.rain.com wrote:
> Erik Trulsson wrote:
> > On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote:
> > > In sys/netinet/ip.h, the first octet of the ip header structure
> > > tests the byte ordering to determine the ordering of the hea
Erik Trulsson wrote:
> On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote:
> > In sys/netinet/ip.h, the first octet of the ip header structure
> > tests the byte ordering to determine the ordering of the header
> > length (ip_hl) and version (ip_v) fields.
> >
> > My question: that al
On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote:
> In sys/netinet/ip.h, the first octet of the ip header structure tests
> the byte ordering to determine the ordering of the header length
> (ip_hl) and version (ip_v) fields.
>
> My question: that always works? While my reading of t
In sys/netinet/ip.h, the first octet of the ip header structure tests the byte
ordering to determine the ordering of the header length (ip_hl) and version
(ip_v) fields.
My question: that always works? While my reading of the language specification
document leaves both the ordering of the bits