Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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 <[email protected]>
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
27typedef struct ZIOPHeader_1_0 {
28 uint8_t magic[4];
29 uint8_t giop_version_major;
30 uint8_t giop_version_minor;
31 uint8_t flags;
32 uint8_t message_type;
33 uint32_t message_size;
35
36
37typedef struct ZIOP_CompressionData {
38 uint16_t compressor_id;
39 uint16_t padding; /* to be skipped due to CDR rules */
40 uint32_t original_length;
41 /* Compression::Buffer data; */
43
44bool
45dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data);
46
47#endif /* PACKET_ZIOP_H */
Definition packet_info.h:43
Definition proto.h:901
Definition packet-ziop.h:37
Definition packet-ziop.h:27
Definition tvbuff-int.h:35