Wireshark mailing list archives
Re: BItfields Larger than 32 Bits
From: Michal Labedzki <michal.labedzki () tieto com>
Date: Thu, 15 May 2014 08:24:58 +0200
On 14 May 2014 11:16, Shanks, Graham (UK) <graham.shanks () baesystems com> wrote:
FT_BITFIELD, 64, VALS(my_values), MAKE_BIT_DEF(30, 4)
+1 Some additional comments:
FT_INT | FT_BITFIELD, 64 | BITFIELD_DEC_HEX, VALS(my_values), MAKE_BIT_DEF(30, 4)
1. I think some bit fields can be signed integer 2. There is still need to chose display format, DEC, HEX... CUSTOM_BASE, I think we can reuse "length"... by the way, why we need length here? proto_*add*() already have this information. -- Pozdrawiam / Best regards ------------------------------------------------------------------------------------------------------------- Michał Łabędzki, Software Engineer Tieto Corporation Product Development Services http://www.tieto.com / http://www.tieto.pl --- ASCII: Michal Labedzki location: Swobodna 1 Street, 50-088 Wrocław, Poland room: 5.01 (desk next to 5.08) --- Please note: The information contained in this message may be legally privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorised use, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank You. --- Please consider the environment before printing this e-mail. --- Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON: 812023656. Kapitał zakładowy: 4 271500 PLN ___________________________________________________________________________ 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)