I have a custom plugin I am writing that decodes packets based on a certain Ethernet type and decodes two fields following this ( protocol ID and control ID ).
EtherType ( 2 bytes ) == Foo Protocol
Protocol ID -- custom values
0x10 = Protocol A
0x20 = Protocol B
Control ID – custom values
I have the decode portion functional and it seems to display all the fields properly in the frame window. However, I want to create sub-statistics for each protocol ID when viewing in the protocol hierarchy window. Right now, it just
displays the total number of “Foo Protocol” packets.
I have added the statistics tree interface to my plugin and have added stat nodes for each protocol ID type, but I do not see anything new in the protocol hierarchy window.