LATER... ei_kerberos_kdc_session_key ...
[wireshark-sm.git] / ui / cli / tap-protohierstat.h
blobda2a9ca33f9138ecd8a598e06d52cc6733e13c48
1 /** @file
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
8 */
10 #ifndef __TAP_PROTO_HIER_STAT_H__
11 #define __TAP_PROTO_HIER_STAT_H__
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
17 extern int pc_proto_id;
19 typedef struct _phs_t {
20 struct _phs_t *sibling;
21 struct _phs_t *child;
22 struct _phs_t *parent;
23 char *filter;
24 int protocol;
25 const char *proto_name;
26 uint32_t frames;
27 uint64_t bytes;
28 } phs_t;
30 extern phs_t * new_phs_t(phs_t *parent, const char *filter);
31 extern void free_phs(phs_t *rs);
32 extern tap_packet_status protohierstat_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, const void *dummy _U_, tap_flags_t flags _U_);
34 #ifdef __cplusplus
36 #endif /* __cplusplus */
38 #endif /* __TAP_PROTO_HIER_STAT_H__ */
41 * Editor modelines - https://www.wireshark.org/tools/modelines.html
43 * Local variables:
44 * c-basic-offset: 8
45 * tab-width: 8
46 * indent-tabs-mode: t
47 * End:
49 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
50 * :indentSize=8:tabSize=8:noTabs=false: