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

Wireshark-dev: Re: [Wireshark-dev] Stats_tree generalization

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Wed, 21 Feb 2007 22:13:33 -0800
On Tue, Feb 20, 2007 at 01:25:08AM -0600, Andy Howell wrote:

> 	I've just added support for "tap" and stats_tree in my 
> dissector.  I would like to have a stats_tree-like display that 
> includes my own columns. In particular, I want a summary of the number 
> of bytes sent by each message type in my protocol.
> 
> I can see three options:
> 
> 1) Modify the existing stats_tree code to handle a developer defined 
> set of columns.

This is probably the best method to start an attempt at, hpoefully 
without requiring changes to the existing dissectors that use the 
stats tree API.

> 3) Use the tap mechanism directly and write custom gui code.

Always a good option, but it's not very quick.  Code resuse in #1 would 
be ideal I think.


Steve