Wireshark-dev: [Wireshark-dev] Dissecting bit fields
From: Kai Blin <blin@xxxxxxx>
Date: Mon, 29 Jan 2007 17:24:54 +0100
Hi folks,

I was wondering if there was a nice method to dissect a 32bit bit field, other 
than reading it into 32 seperate variables and dissecting it 32 times with a 
different bit flag (which seems to be the method of choice in the dissectors 
I looked up).

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