Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

epan_dissect.h
1 /* epan_dissect.h
2 *
3 * Wireshark Protocol Analyzer Library
4 *
5 * Copyright (c) 2001 by Gerald Combs <gerald@wireshark.org>
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef EPAN_DISSECT_H
11 #define EPAN_DISSECT_H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
16
17 #include "epan.h"
18 #include "tvbuff.h"
19 #include "proto.h"
20 #include "packet_info.h"
21
22 /* Dissection of a single byte array. Holds tvbuff info as
23 * well as proto_tree info. As long as the epan_dissect_t for a byte
24 * array is in existence, you must not free or move that byte array,
25 * as the structures that the epan_dissect_t contains might have pointers
26 * to addresses in your byte array.
27 */
28 struct epan_dissect {
29 struct epan_session *session;
30 tvbuff_t *tvb;
31 proto_tree *tree;
32 packet_info pi;
33 };
34
35 #ifdef __cplusplus
36 }
37 #endif /* __cplusplus */
38
39 #endif /* EPAN_DISSECT_H */
40
41 /*
42 * Editor modelines - http://www.wireshark.org/tools/modelines.html
43 *
44 * Local variables:
45 * c-basic-offset: 8
46 * tab-width: 8
47 * indent-tabs-mode: t
48 * End:
49 *
50 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
51 * :indentSize=8:tabSize=8:noTabs=false:
52 */
_packet_info
Definition: packet_info.h:44
tvbuff
Definition: tvbuff-int.h:35
proto.h
epan_dissect
Definition: epan_dissect.h:28
_proto_node
Definition: proto.h:759
packet_info.h
epan_session
Definition: epan.c:348