3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __UI_PROTO_HIER_STATS_H__
11 #define __UI_PROTO_HIER_STATS_H__
13 #include <epan/proto.h>
18 #endif /* __cplusplus */
21 * Protocol Hierarchy Statistics
25 const header_field_info
*hfinfo
;
26 unsigned num_pkts_total
;
27 unsigned num_pdus_total
;
28 unsigned num_pkts_last
;
29 unsigned num_bytes_total
;
30 unsigned num_bytes_last
;
39 double first_time
; /* seconds (msec resolution) of first packet */
40 double last_time
; /* seconds (msec resolution) of last packet */
43 ph_stats_t
*ph_stats_new(capture_file
*cf
);
45 void ph_stats_free(ph_stats_t
*ps
);
49 #endif /* __cplusplus */
51 #endif /* __UI_PROTO_HIER_STATS_H__ */