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

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

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
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.