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 <
>
> 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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo