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: Lange Jan-Erik <Jan-Erik.Lange@xxxxxxxxxxxxxx>
Date: Sun, 21 Nov 2010 16:55:30 +0100
It is possible concetinate two field with each other? 

Or is there a type which is able to hold 18 Bytes and mask bits?

________________________________________
Von: wireshark-dev-bounces@xxxxxxxxxxxxx [wireshark-dev-bounces@xxxxxxxxxxxxx] im Auftrag von Stephen Fisher [steve@xxxxxxxxxxxxxxxxxx]
Gesendet: Freitag, 19. November 2010 18:49
An: Developer support list for Wireshark
Betreff: Re: [Wireshark-dev] protocol field declaration

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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe