Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

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

- File List
- File Members

packet-ziop.h
1 /* packet-ziop.h
2 * Declaration of routines for ZIOP dissection
3 * Significantly based on packet-giop.h
4 * Copyright 2009 Alvaro Vega Garcia <avega at tid dot es>
5 *
6 * Based on GIOP Compression FTF Beta 1
7 * OMG mars/2008-12-20
8 *
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 */
15
16 #ifndef PACKET_ZIOP_H
17 #define PACKET_ZIOP_H
18
19 /*
20 * Useful visible data/structs
21 */
22
23 #define ZIOP_HEADER_SIZE 12
24
25 #define ZIOP_MAGIC "ZIOP"
26
27 typedef struct ZIOPHeader_1_0 {
28 guint8 magic[4];
29 guint8 giop_version_major;
30 guint8 giop_version_minor;
31 guint8 flags;
32 guint8 message_type;
33 guint32 message_size;
34 } ZIOPHeader;
35
36
37 typedef struct ZIOP_CompressionData {
38 guint16 compressor_id;
39 guint16 padding; /* to be skipped due to CDR rules */
40 guint32 original_length;
41 /* Compression::Buffer data; */
42 } CompressionData;
43
44 gboolean
45 dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data);
46
47 #endif /* PACKET_ZIOP_H */
_packet_info
Definition: packet_info.h:44
ZIOP_CompressionData
Definition: packet-ziop.h:37
tvbuff
Definition: tvbuff-int.h:35
ZIOPHeader_1_0
Definition: packet-ziop.h:27
_proto_node
Definition: proto.h:759