Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Changing how the fields are displayed in the output of disse

From: "Swapnil Barai (sbarai)" <sbarai@xxxxxxxxx>
Date: Wed, 15 Jul 2009 13:24:52 -0700
Hey

Thanks for the help. Would try it. Hope it solves the problem.

Swapnil

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
Sent: Wednesday, July 15, 2009 11:13 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Changing how the fields are displayed in
the output of dissector

Hi,

No, that's part of the proto tree item presentation code.
All you can do is use your own formatted presentations through 
proto_tree_add_*_format() calls.

Thanx,
Jaap

Swapnil Barai (sbarai) wrote:
> Oh, so is there any way to alter this standard presentation for my own
> dissector. 
> 
> Thanks for your help.
> 
> Swapnil
> 
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
> Sent: Wednesday, July 15, 2009 10:56 AM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] Changing how the fields are displayed in
> the output of dissector
> 
> Hi,
> 
> That is the standard presentation for header fields registered with a
> BITMASK!=0
> 
> Thanx,
> Jaap
> 
> Swapnil Barai (sbarai) wrote:
>> Yes, that's right. But which part of the source code needs to be
>> manipulated here I am not sure of that. As in what part of code is
>> causing the 000... = to appear before Qualifier.
>>
>> -----Original Message-----
>> From: wireshark-dev-bounces@xxxxxxxxxxxxx
>> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
>> Sent: Wednesday, July 15, 2009 10:45 AM
>> To: Developer support list for Wireshark
>> Subject: Re: [Wireshark-dev] Changing how the fields are displayed in
>> the output of dissector
>>
>> Hi,
>>
>> Not without changing the sourcecode.
>>
>> Thanx,
>> Jaap
>>
>> Swapnil Barai (sbarai) wrote:
>>>   
>>>
>>>       Hi
>>>
>>>  
>>>
>>>       This is a sample output of wireshark SCSI dissector.
>>>
>>>  
>>>
>>>        000.... = Qualifier: Device type is connected to logical unit
>> (0x00)
>>>  
>>>
>>>        Qualifier being a registered field in the SCSI dissector.
>>>
>>>       
>>>
>>>       Is there a way to make this output as  
>>>
>>>  
>>>
>>>       Qualifier: Device type is connected to logical unit (0x00)
>>>
>>>    
>>>
>>>       Thanks
>>>
>>>

________________________________________________________________________
___
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe