Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] C Bitfield types and alignment

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 5 Dec 2011 19:20:41 -0800
On Dec 5, 2011, at 6:50 PM, Guy Harris wrote:

> Given that we're using this to pick apart data structures in packets, we shouldn't use bitfields.

Actually, in this particular case, we're *not* using it to describe the data structures in packets, so using bitfields is OK; we can leave it to the compiler to do something reasonable.