Wireshark
4.3.0
The Wireshark network protocol analyzer
ui
proto_hier_stats.h
Go to the documentation of this file.
1
10
#ifndef __UI_PROTO_HIER_STATS_H__
11
#define __UI_PROTO_HIER_STATS_H__
12
13
#include <
epan/proto.h
>
14
#include "
cfile.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
24
typedef
struct
{
25
header_field_info
*hfinfo;
26
guint num_pkts_total;
27
guint num_pdus_total;
28
guint num_pkts_last;
29
guint num_bytes_total;
30
guint num_bytes_last;
31
guint last_pkt;
32
}
ph_stats_node_t
;
33
34
35
typedef
struct
{
36
guint tot_packets;
37
guint tot_bytes;
38
GNode *
stats_tree
;
39
double
first_time;
/* seconds (msec resolution) of first packet */
40
double
last_time;
/* seconds (msec resolution) of last packet */
41
}
ph_stats_t
;
42
43
ph_stats_t
*ph_stats_new(
capture_file
*cf);
44
45
void
ph_stats_free(
ph_stats_t
*ps);
46
47
#ifdef __cplusplus
48
}
49
#endif
/* __cplusplus */
50
51
#endif
/* __UI_PROTO_HIER_STATS_H__ */
cfile.h
proto.h
_capture_file
Definition:
cfile.h:67
_header_field_info
Definition:
proto.h:762
_stats_tree
Definition:
stats_tree_priv.h:102
ph_stats_node_t
Definition:
proto_hier_stats.h:24
ph_stats_t
Definition:
proto_hier_stats.h:35
Generated by
1.9.1