Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
_stats_tree_cfg Struct Reference

Defines the static configuration and callbacks for a statistics tree type, shared across all instances of that tree. More...

#include <stats_tree_priv.h>

Public Attributes

char * abbr
 
char * path
 
char * title
 
char * tapname
 
char * first_column_name
 
register_stat_group_t stat_group
 
bool plugin
 
stat_tree_packet_cb packet
 
stat_tree_init_cb init
 
stat_tree_cleanup_cb cleanup
 
unsigned flags
 
void(* setup_node_pr )(stat_node *)
 
tree_cfg_prespr
 
tree_pres *(* new_tree_pr )(stats_tree *)
 
void(* free_tree_pr )(stats_tree *)
 
unsigned st_flags
 

Detailed Description

Defines the static configuration and callbacks for a statistics tree type, shared across all instances of that tree.

Member Data Documentation

◆ abbr

char* _stats_tree_cfg::abbr

Short abbreviated identifier used internally to register and look up the tree.

◆ cleanup

stat_tree_cleanup_cb _stats_tree_cfg::cleanup

Callback invoked to clean up tree resources after collection ends.

◆ first_column_name

char* _stats_tree_cfg::first_column_name

Label for the first (name) column in the statistics tree display.

◆ flags

unsigned _stats_tree_cfg::flags

Tap listener flags controlling delivery behavior of the per-packet callback.

◆ free_tree_pr

void(* _stats_tree_cfg::free_tree_pr) (stats_tree *)

Callback that releases the presentation handle of a tree instance.

◆ init

stat_tree_init_cb _stats_tree_cfg::init

Callback invoked to initialize the tree before a capture or retap.

◆ new_tree_pr

tree_pres *(* _stats_tree_cfg::new_tree_pr) (stats_tree *)

Callback that allocates and returns a new presentation handle for a tree instance.

◆ packet

stat_tree_packet_cb _stats_tree_cfg::packet

dissector defined callbacks Per-packet callback invoked by the tap for each matching packet.

◆ path

char* _stats_tree_cfg::path

Menu path string determining where the tree appears in the Statistics menu.

◆ plugin

bool _stats_tree_cfg::plugin

True if this statistics tree was registered by a plugin.

◆ pr

tree_cfg_pres* _stats_tree_cfg::pr

Opaque presentation configuration handle used by the GUI implementation.

◆ setup_node_pr

void(* _stats_tree_cfg::setup_node_pr) (stat_node *)

Callback invoked last during node creation to initialize node presentation state.

◆ st_flags

unsigned _stats_tree_cfg::st_flags

Default stats tree flags (e.g. sorting behavior) applied to newly created tree instances.

◆ stat_group

register_stat_group_t _stats_tree_cfg::stat_group

Statistics menu group under which this tree is registered.

◆ tapname

char* _stats_tree_cfg::tapname

Name of the tap this statistics tree registers a listener on.

◆ title

char* _stats_tree_cfg::title

Human-readable title displayed in the statistics window.


The documentation for this struct was generated from the following file: