Wireshark-dev: Re: [Wireshark-dev] What do you use to get a boolean
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 12 Feb 2007 09:27:28 -0800
Hal Lander wrote:

Anybody know if there is a function that returns the boolean (1 or 0) value of the flag or do I have to do the masking myself to get it?

You have to do the masking yourself; that is the case for all bitfields, not just Boolean bitfields (not all bitfields are Boolean, and not all Booleans are bitfields).