Wireshark  4.3.0
The Wireshark network protocol analyzer
epan_dissect.h
Go to the documentation of this file.
1 
10 #ifndef EPAN_DISSECT_H
11 #define EPAN_DISSECT_H
12 
13 #include "epan.h"
14 #include "tvbuff.h"
15 #include "proto.h"
16 #include "packet_info.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
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 - https://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  */
Definition: packet_info.h:44
Definition: proto.h:904
Definition: epan_dissect.h:28
Definition: epan.c:460
Definition: tvbuff-int.h:35