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

2007-07-12 Thread Jeff Morriss
vailable. >> >> I hope this is helpful, the effort required to generate documentation is >> much appreciated and how Wireshark works is gradually starting to clik into >> place in my mind. >> >> Hal. >> >> >>> From: Stephen Fisher <

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

2007-02-26 Thread Jaap Keuter
> > I hope this is helpful, the effort required to generate documentation is > much appreciated and how Wireshark works is gradually starting to clik into > place in my mind. > > Hal. > > > >From: Stephen Fisher <[EMAIL PROTECTED]> > >Reply-To: Developer supp

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

2007-02-26 Thread Hal Lander
or Wireshark To: Developer support list for Wireshark 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, t

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 m

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

2007-02-12 Thread Guy Harris
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

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

2007-02-12 Thread Hal Lander
ng with other data)? Hal From: Jeff Morriss <[EMAIL PROTECTED]> Reply-To: Developer support list for Wireshark To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] What do you use to get a boolean Date: Mon, 12 Feb 2007 22:05:09 +0800 Hal Lander wrote: > Wireshar

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

2007-02-12 Thread Hal Lander
AIL PROTECTED]> Reply-To: Developer support list for Wireshark To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] What do you use to get a boolean Date: Mon, 12 Feb 2007 22:05:09 +0800 Hal Lander wrote: > Wireshark has a field type FT_BOOLEAN. > It lets you add t

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

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

2007-02-12 Thread Hal Lander
value? Hal >From: Jeff Morriss <[EMAIL PROTECTED]> >Reply-To: Developer support list for Wireshark > >To: Developer support list for Wireshark >Subject: Re: [Wireshark-dev] What do you use to get a boolean >Date: Mon, 12 Feb 2007 21:37:30 +0800 > > > >Hal

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

2007-02-12 Thread Jeff Morriss
Hal Lander wrote: > Hi, > > There are various routines to get things like "tvb_get_stringz" and > "tvb_get_ntohieee_float" > What do you use to get a boolean, I have not found anything? What's a boolean? Is it a 32-bit entity? Frequently, but it might not always be. You probably want to use

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

2007-02-12 Thread Hal Lander
Hi, There are various routines to get things like "tvb_get_stringz" and "tvb_get_ntohieee_float" What do you use to get a boolean, I have not found anything? Hal _ FREE online classifieds from Windows Live Expo – buy and sell wit