Wireshark mailing list archives
Re: display of TLVs in MIH protocol dissector
From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Mon, 11 Jul 2011 16:23:42 +0200
Hi, You could take a look at the CDP dissector: http://anonsvn.wireshark.org/wireshark/trunk/epan/dissectors/packet-cdp.cIt 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=6547This protocol contains all the information in form of TLVs(type length value), also this protocol does not specify the maximum number of TLVsinside 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 setvariable length subtrees in ett array. Regards Ankith
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- display of TLVs in MIH protocol dissector Ankith Agarwal (Jul 11)
- Re: display of TLVs in MIH protocol dissector Jaap Keuter (Jul 11)
- Re: display of TLVs in MIH protocol dissector Ankith Agarwal (Jul 11)
- Re: display of TLVs in MIH protocol dissector Jaap Keuter (Jul 11)