Ethereal-dev: Re: [ethereal-dev] control field in v120 dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 15 Mar 2000 12:01:15 -0800 (PST)
> I just checked in a change for the lapb dissector : the type of the
> control field is now FT_UINT8.
> All dissectors using dissect_xdlc_control should use an integer type for
> the control field.
> 
> This is not the case in v120. The type of the control field is
> FT_STRING, and the length of the field seems to be variable (8 or 16
> bits).

Would this be an issue of "basic" vs. "extended" mode (mod 7 vs. mod 128
sequence numbers)?

If so, perhaps we need a way to have what amounts to variable-length
numeric fields (limited to, say, 1 to 4 bytes, or 1 to 8 bytes if we
decide to support only platforms where the compiler supports a 64-bit
integral data type).