3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef __UI_PROTO_HIER_STATS_H__
23 #define __UI_PROTO_HIER_STATS_H__
27 #endif /* __cplusplus */
30 * Protocol Hierarchy Statistics
33 #include <epan/proto.h>
36 header_field_info *hfinfo;
39 guint num_bytes_total;
48 double first_time; /* seconds (msec resolution) of first packet */
49 double last_time; /* seconds (msec resolution) of last packet */
53 ph_stats_t *ph_stats_new(struct _capture_file *cf);
55 void ph_stats_free(ph_stats_t *ps);
59 #endif /* __cplusplus */
61 #endif /* __UI_PROTO_HIER_STATS_H__ */
64 * Editor modelines - http://www.wireshark.org/tools/modelines.html
72 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
73 * :indentSize=8:tabSize=8:noTabs=false: