Ethereal-dev: Re: [Ethereal-dev] A dynamic number of subtrees

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

Date: Sun, 2 Jan 2005 20:35:35 +0100
etts don't match directly to subtrees, subtrees use etts to keep some
"persistent" info more subtrees can (and often do) use the same ett.


On Sun, 02 Jan 2005 20:08:21 +0100, Stefano Pettini
<spettini@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello,
> 
> How can I add a dynamic number of subtrees to my protocol tree? It's not
> possible to register them in advance using proto_register_subtree_array,
> since their number is different in every packet and unknown at protocol
> registration.
> 
> Should I allocate a fixed number of subtrees, and hope they're enough?
> 
> Thanks.
> 
> Stefano
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>