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] Subtree array purpose

From: Max <dmitrmax@xxxxxxxxx>
Date: Sat, 30 Apr 2011 01:25:25 +0400
2011/4/30 Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>:
>>
>> Can anybody please explain the purpose of subtree array (ett_...)?
>>
>> I don't get why should i have several different etts in my dissector's
>> code, while there is no information assotiated with these integers.
>
> Each ett_ stores information about whether the particular subtree created
> using that variable is expanded or not.

Indeed, it is extremely useful. Thank you, Stephen and Jeff, for your
quick help!

--
  Max