Wireshark-dev: Re: [Wireshark-dev] Dissecting bit fields
On Monday 29 January 2007 20:20, Jaap Keuter wrote:
> Ehh, I could point you to packet-bacnet.c which has a typical way of
> implementing dissection of a bitfield. Look up the FT_BOOLEAN symbol and
> see how these fields are decoded.

Yeah, that was exactly what I wanted to avoid. The code for this doesn't look 
pretty for a 8 bit field, and mine's 32 bit. If that's the only method, it 
will have to do, of course.


Kai Blin, <blin At gmx Dot net>
WorldForge developer    http://www.worldforge.org/
Wine developer          http://wiki.winehq.org/KaiBlin/
Ninjas and Pirates agree: Cowboys suck!

Attachment: pgpokpEqn6iAp.pgp
Description: PGP signature