Wireshark-dev: Re: [Wireshark-dev] what is the meaning of function proto_register_subtree_array

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 16 Feb 2014 12:02:32 -0800
On Feb 16, 2014, at 7:55 AM, Bill Meier <wmeier@xxxxxxxxxxx> wrote:

> Essentially: proto_register_subtree() registers variables (usually named ett_...) which are used to store state as to whether a particular sub-tree is expanded or not in the "packet-details" pane in the GUI.

...so that, if you've opened up a particular subtree (such as, for example, the top-level subtree for IPv4) in one packet, if you click on another packet, that particular subtree will be automatically opened.