Ethereal-dev: [Ethereal-dev] RFC: Bitfield operators in display filters

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Thu, 12 Feb 2004 10:52:42 +0100
Hi list,

In a recent post on the ethereal-users mailing list somebody asked whether
bitfield operations were supported in the display filter language. They're
not today, but I see them as interesting.

For single bytes there's no problem in adding such operators, but we need to
take care of endianness in multi-byte (integers which can be decoded as)
bitfields, as well as the situation where two protocol fields with a
different bit width share the same field name (as in proto.foo declared once
as an FT_UINT8 and once as an FT_UINT32).

Fire your remarks!

Regards,

Olivier