Wireshark-dev: Re: [Wireshark-dev] display of TLVs in MIH protocol dissector
From: Ankith Agarwal <[email protected]>
Date: Tue, 12 Jul 2011 12:04:39 +0530 (IST)
Hi, 

  Thank you for the advice, it was very helpful...


Regards
Ankith

On Mon, Jul 11, 2011, Jaap Keuter <[email protected]> said:

> Hi,
> 
> You could take a look at the CDP dissector:
> http://anonsvn.wireshark.org/wireshark/trunk/epan/dissectors/packet-cdp.c
> 
> It has basically the same problem, which it solves by re-using the ett 
> value.
> 
> Thanks,
> jaap
> 
> On Mon, 11 Jul 2011 14:22:51 +0530 (IST), Ankith Agarwal wrote:
> 
>> Hi
>> I am writing a plugin for dissection of MIH protocol.
>> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6547
>> This protocol contains all the information in form of TLVs(type 
>> length
>> value), also this protocol does not specify the maximum number of 
>> TLVs
>> inside a packet. I am confused in the display of the TLVs. I tried it
>> with
>> assigning a subtree to each TLV, is there any better way of doing it?
>> -> Also, in the plugin I have set the number of TLV subtrees to 20, 
>> but
>> that is not a good way of doing it, can someone also tell me how to 
>> set
>> variable length subtrees in ett array.
>>
>> Regards
>> Ankith
> 
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <[email protected]>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:[email protected]?subject=unsubscribe
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
WARM REGARDS

Ankith Agarwal
Project Engineer
CDAC Hyderabad



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.