Wireshark mailing list archives

Re: Subtree array purpose


From: Max <dmitrmax () gmail com>
Date: Sat, 30 Apr 2011 01:25:25 +0400

2011/4/30 Jeff Morriss <jeff.morriss.ws () gmail com>:

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
___________________________________________________________________________
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: