Wireshark mailing list archives

protocol field declaration


From: Lange Jan-Erik <Jan-Erik.Lange () haw-hamburg de>
Date: Fri, 19 Nov 2010 13:28:39 +0100

Hello,

I want to have a field in my protocol, that is 18,25 Bytes long (18 Bytes and 2 Bits aditionally). Which type can I use 
therefore?

When I use FT_BYTES I can't use bitmasking for getting the 2 Bits. And Using FT_INT64 is too short for 18 Bytes.

How can I realize this field?

Best regards
Jan
___________________________________________________________________________
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: