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 __TAP_PROTO_HIER_STAT_H__
11 #define __TAP_PROTO_HIER_STAT_H__
15 #endif /* __cplusplus */
17 extern int pc_proto_id
;
19 typedef struct _phs_t
{
20 struct _phs_t
*sibling
;
22 struct _phs_t
*parent
;
25 const char *proto_name
;
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_
);
36 #endif /* __cplusplus */
38 #endif /* __TAP_PROTO_HIER_STAT_H__ */
41 * Editor modelines - https://www.wireshark.org/tools/modelines.html
49 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
50 * :indentSize=8:tabSize=8:noTabs=false: