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.