Wireshark mailing list archives

Re: protocol field declaration


From: Stephen Fisher <steve () stephen-fisher com>
Date: Fri, 19 Nov 2010 10:49:08 -0700

On Fri, Nov 19, 2010 at 01:28:39PM +0100, Lange Jan-Erik wrote:

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?

What type of data does the field have in it?  It sounds like more than 
one value is in there.

___________________________________________________________________________
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: