Wireshark mailing list archives
Re: BItfields Larger than 32 Bits
From: "Shanks, Graham (UK)" <graham.shanks () baesystems com>
Date: Wed, 14 May 2014 08:36:08 +0000
On 13 May 2014 22:08, Kevin Cox <kevincox () kevincox ca> wrote:
My best idea would be to parse it as two separate 32 bit bitfields however this is not as elegant
The problem with parsing it as two 32bit bitfields is if, as in my case, a field straddles the 32bit boundary. There is no nice way to extract such a field. I went down the path of not using bitfields at all and using proto_tree_add_text. Regards, Graham (aka GrahamS) BAE Systems Integrated System Technologies Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 3456325 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** ___________________________________________________________________________ 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:
- BItfields Larger than 32 Bits Kevin Cox (May 13)
- Re: BItfields Larger than 32 Bits Alexis La Goutte (May 13)
- Re: BItfields Larger than 32 Bits Kevin Cox (May 13)
- Re: BItfields Larger than 32 Bits Michal Labedzki (May 14)
- Re: BItfields Larger than 32 Bits Shanks, Graham (UK) (May 14)
- Re: BItfields Larger than 32 Bits Michal Labedzki (May 14)
- Re: BItfields Larger than 32 Bits Kevin Cox (May 13)
- Re: BItfields Larger than 32 Bits Alexis La Goutte (May 13)