Ethereal-dev: AW: [Ethereal-dev] WHAT IS ROLE OF ETT field

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Grossert, Alexander" <Alexander.Grossert@xxxxxxxxxxx>
Date: Thu, 11 May 2006 12:09:56 +0200
It defines the expansion of a subtree in your dissection.
 
For example, if you have several sub trees, but always register the same ett* with each of them, then expanding one subtree will also expand all the others when entering them.
 
To prevent this you can add one variable pointer for each sub tree to the array gint *extend[] and set the according pointer when adding the sub tree. Then the expansion of every tree will be controlled seperated.
 

Von: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] Im Auftrag von Raman Singla
Gesendet: Donnerstag, 11. Mai 2006 12:00
An: ethereal-dev@xxxxxxxxxxxx
Betreff: [Ethereal-dev] WHAT IS ROLE OF ETT field

Hi all,
 
Kindly tell me the role of of ett field.
 
It is usred in when we are creating the subtree from item e.g.
 
proto_item_add_subtree (subitem, ett_**);
 
Could any one please tell me the role of having an ett field here, whereas if i give any ID it also works.
 
Why we require ett_field. (Expansion & filtering still works if i don't give ett field in subtree). Can we skip ett fields & if we do what will the effects ?
 
Kindly let me know ?
 
regards,
raman