Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] 'Virtual' subtree

From: Simon Zhong <szhong.jnpr@xxxxxxxxx>
Date: Tue, 30 Sep 2014 08:01:21 -0400
Hi,
I'm working on PCEP dissector, I'm wonder if it's possible to create a 'virtual' subtree.
The format of a message is as follows:
<PCReq Message>::= <Common Header>
                  [<svec-list>]
                  <request-list>
where: <svec-list>::=<SVEC>[<svec-list>]
      <request-list>::=<request>[<request-list>]
      <request>::= <RP>
                   <END-POINTS>
                   [<LSPA>]
                   [<BANDWIDTH>]
                   [<metric-list>]
                   [<RRO>[<BANDWIDTH>]]
                   [<IRO>]
                   [<LOAD-BALANCING>]
...
As you can see there's no real field called <svec-list> or <request-list>, it's just set of some other real fields. But I believe it will be more clear if we can present these real fields under a 'virtual' subtree, instead of presenting them flatly.
Is there any way to do this? Thanks.
/Simon