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>
6 * Based on GIOP Compression FTF Beta 1
9 * Wireshark - Network traffic analyzer
10 * By Gerald Combs <gerald@wireshark.org>
11 * Copyright 1998 Gerald Combs
13 * SPDX-License-Identifier: GPL-2.0-or-later
20 * Useful visible data/structs
23 #define ZIOP_HEADER_SIZE 12
25 #define ZIOP_MAGIC "ZIOP"
27 typedef struct ZIOPHeader_1_0
{
29 uint8_t giop_version_major
;
30 uint8_t giop_version_minor
;
33 uint32_t message_size
;
37 typedef 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; */
45 dissect_ziop_heur (tvbuff_t
* tvb
, packet_info
* pinfo
, proto_tree
* tree
, void * data
);
47 #endif /* PACKET_ZIOP_H */