From Alexis La Goutte via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5603 :
Following the discussion on the dev mailing list about ett_ value in subtree http://www.wireshark.org/lists/wireshark-dev/201101/msg00039.html a small to update the Readme Developer Guide ! svn path=/trunk/; revision=35610
This commit is contained in:
parent
4374c0b0b7
commit
4eb43096b1
|
@ -2074,6 +2074,12 @@ array of pointers to "gint" variables to hold the subtree type values to
|
|||
in your "register" routine, just as you register the protocol and the
|
||||
fields for that protocol.
|
||||
|
||||
The ett_ variables identify particular type of subtree so that if you expand
|
||||
one of them, Wireshark keeps track of that and, when you click on
|
||||
another packet, it automatically opens all subtrees of that type.
|
||||
If you close one of them, all subtrees of that type will be closed when
|
||||
you move to another packet.
|
||||
|
||||
There are several functions that the programmer can use to add either
|
||||
protocol or field labels to the proto_tree:
|
||||
|
||||
|
|
Loading…
Reference in New Issue