Re: [Wireshark-dev] What do you use to get a boolean

2007-07-12 Thread Jeff Morriss
support list for Wireshark wireshark-dev@wireshark.org Subject: Re: [Wireshark-dev] What do you use to get a boolean Date: Wed, 21 Feb 2007 23:25:44 -0800 On Mon, Feb 12, 2007 at 06:15:43AM -0900, Hal Lander wrote: It does look like the value you pass to proto_tree_add_boolean(tree, id, tvb, start

Re: [Wireshark-dev] What do you use to get a boolean

2007-02-26 Thread Hal Lander
To: Developer support list for Wireshark wireshark-dev@wireshark.org Subject: Re: [Wireshark-dev] What do you use to get a boolean Date: Wed, 21 Feb 2007 23:25:44 -0800 On Mon, Feb 12, 2007 at 06:15:43AM -0900, Hal Lander wrote: It does look like the value you pass to proto_tree_add_boolean(tree, id, tvb

Re: [Wireshark-dev] What do you use to get a boolean

2007-02-26 Thread Jaap Keuter
in my mind. Hal. From: Stephen Fisher [EMAIL PROTECTED] Reply-To: Developer support list for Wireshark wireshark-dev@wireshark.org To: Developer support list for Wireshark wireshark-dev@wireshark.org Subject: Re: [Wireshark-dev] What do you use to get a boolean Date: Wed, 21 Feb 2007 23:25

Re: [Wireshark-dev] What do you use to get a boolean

2007-02-21 Thread Stephen Fisher
On Mon, Feb 12, 2007 at 06:15:43AM -0900, Hal Lander wrote: It does look like the value you pass to proto_tree_add_boolean(tree, id, tvb, start, length, value); is not a 1 or a 0 it is the raw data byte containing the boolean at the position defined by the mask. If I am correct this makes

Re: [Wireshark-dev] What do you use to get a boolean

2007-02-12 Thread Jeff Morriss
Hal Lander wrote: Wireshark has a field type FT_BOOLEAN. It lets you add the boolean to the tree using proto_tree_add_boolean(tree, id, tvb, start, length, value); and is supposed to do all the bit shifting for you to extract the single bit 0 or 1. I thought it might also provide some