ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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.