[lkml]   [2005]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: struct iphdr in include/linux/ip.h (probably bug in headerfile)
On Maw, 2005-06-21 at 08:15, k8 s wrote:
> Hello,
> The following definition in linux/include/ip.h is creating problems.
> How does Endianness affect BIT ORDER
> IT affetc only BYTE ORDER

Bitfield order is a compiler property. Byte order is usually a processor
property and the two are not exactly connected.

A compiler given two bit fields can pack them from the high bit or from
the low bit and may do different things depending on the platform. The
defines tell the kernel whether the compiler packs bitfields into the
low bits first or the high bits first.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-21 14:44    [W:0.024 / U:2.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site