Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] protocol field declaration

From: Lange Jan-Erik <Jan-Erik.Lange@xxxxxxxxxxxxxx>
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