Wireshark-dev: Re: [Wireshark-dev] Dissecting bit fields
From: Kai Blin <blin@xxxxxxx>
Date: Mon, 29 Jan 2007 21:16:07 +0100
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.

Cheers,
Kai

-- 
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: pgpCvgXAJedQv.pgp
Description: PGP signature