Wireshark mailing list archives
Re: C Bitfield types and alignment
From: Guy Harris <guy () alum mit edu>
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. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: C Bitfield types and alignment Bill Meier (Dec 05)
- Re: C Bitfield types and alignment Guy Harris (Dec 05)
- Re: C Bitfield types and alignment Jeff Morriss (Dec 05)
- Re: C Bitfield types and alignment Guy Harris (Dec 05)
- Re: C Bitfield types and alignment Guy Harris (Dec 05)
- Re: C Bitfield types and alignment Guy Harris (Dec 05)