Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
tap-protohierstat.h
Go to the documentation of this file.
1
10#ifndef __TAP_PROTO_HIER_STAT_H__
11#define __TAP_PROTO_HIER_STAT_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif /* __cplusplus */
16
17extern int pc_proto_id;
18
19typedef 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;
29
30extern phs_t * new_phs_t(phs_t *parent, const char *filter);
31extern void free_phs(phs_t *rs);
32extern tap_packet_status protohierstat_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, const void *dummy _U_, tap_flags_t flags _U_);
33
34#ifdef __cplusplus
35}
36#endif /* __cplusplus */
37
38#endif /* __TAP_PROTO_HIER_STAT_H__ */
39
40/*
41 * Editor modelines - https://www.wireshark.org/tools/modelines.html
42 *
43 * Local variables:
44 * c-basic-offset: 8
45 * tab-width: 8
46 * indent-tabs-mode: t
47 * End:
48 *
49 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
50 * :indentSize=8:tabSize=8:noTabs=false:
51 */
Definition packet_info.h:43
Definition tap-protohierstat.h:19
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:25