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

Represents a node in a hierarchical statistics tree. More...

#include <stats_tree_priv.h>

Public Attributes

char * name
 
int id
 
stat_node_datatype datatype
 
int counter
 
union { 
 
   int64_t   int_total 
 
   double   float_total 
 
total 
 
union { 
 
   int   int_min 
 
   float   float_min 
 
minvalue 
 
union { 
 
   int   int_max 
 
   float   float_max 
 
maxvalue 
 
int st_flags
 
int bcount
 
burst_bucketbh
 
burst_bucketbt
 
int max_burst
 
double burst_time
 
GHashTable * hash
 
stats_treest
 
stat_nodeparent
 
stat_nodechildren
 
stat_nodenext
 
range_pair_trng
 
st_node_prespr
 

Detailed Description

Represents a node in a hierarchical statistics tree.

Each node tracks statistical data such as counters, totals, min/max values, and burst rates. Nodes may have children and siblings, forming a tree structure used for organizing and displaying protocol or performance statistics.

Member Data Documentation

◆ bcount

int _stat_node::bcount

Burst rate tracking fields. Burst count.

◆ bh

burst_bucket* _stat_node::bh

Head of burst bucket list.

◆ bt

burst_bucket* _stat_node::bt

Tail of burst bucket list.

◆ burst_time

double _stat_node::burst_time

Time span of the burst.

◆ children

stat_node* _stat_node::children

Pointer to first child node.

◆ counter

int _stat_node::counter

Counter value maintained by the node.

◆ datatype

stat_node_datatype _stat_node::datatype

Type of data tracked (e.g., integer, float).

◆ float_max

float _stat_node::float_max

Maximum float value.

◆ float_min

float _stat_node::float_min

Minimum float value.

◆ float_total

double _stat_node::float_total

Total for floating-point values.

◆ hash

GHashTable* _stat_node::hash

Child nodes indexed by name.

◆ id

int _stat_node::id

Unique identifier for the node.

◆ int_max

int _stat_node::int_max

Maximum integer value.

◆ int_min

int _stat_node::int_min

Minimum integer value.

◆ int_total

int64_t _stat_node::int_total

Total for integer values.

◆ max_burst

int _stat_node::max_burst

Maximum burst count observed.

◆ [union]

union { ... } _stat_node::maxvalue

Maximum value observed.

◆ [union]

union { ... } _stat_node::minvalue

Minimum value observed.

◆ name

char* _stat_node::name

Name of the statistic node.

◆ next

stat_node* _stat_node::next

Pointer to next sibling node.

◆ parent

stat_node* _stat_node::parent

Tree relationships. Pointer to parent node.

◆ pr

st_node_pres* _stat_node::pr

Presentation metadata for display formatting.

◆ rng

range_pair_t* _stat_node::rng

Optional range constraint for value filtering.

◆ st

stats_tree* _stat_node::st

Pointer to the owning statistics tree.

◆ st_flags

int _stat_node::st_flags

Flags controlling node behavior or display.

◆ [union]

union { ... } _stat_node::total

Total of all submitted values, used for computing averages.


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