Ethereal

Re: [Ethereal-dev] A dynamic number of subtrees
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2005


Stefano Pettini wrote:

If I have N subtrees, one for each extension, with N unknown at compile time, displayed one after the other at the same time, I suppose I cannot share their etts.

Am I right?

No. If you want, you can use the same ett value for *all* subtrees in a dissector. That'd mean that if you opened up any tree, and then selected another packet for the same protocol - or selected another packet and selected the original packet, all subtrees would be displayed as open, so that's probably not the best choice. You don't have to use an ett value for each subtree, however - you'd probably just do it for each *type* of subtree.



Powered by MHonArc 2.6.10