Wireshark-dev: Re: [Wireshark-dev] bitmask handling in wireshark
From: Christopher Maynard <Chris.Maynard@xxxxxxxxx>
Date: Tue, 28 Dec 2010 15:14:02 +0000 (UTC)
Andrei Emeltchenko <andrei.emeltchenko.news@...> writes:

> Could you point me to some example?
> 
> So far I've seen only lots of boolean values.

You might want to take a look at proto_tree_add_bitmask().  See
doc/README.developer, which describes it and illustrates its use by taking an
example from the SCSI dissector.