Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-ziop.h
blob4e6b57a36e6d42c15c65cbbadea44e3639b04d02
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>
6 * Based on GIOP Compression FTF Beta 1
7 * OMG mars/2008-12-20
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
16 #ifndef PACKET_ZIOP_H
17 #define PACKET_ZIOP_H
20 * Useful visible data/structs
23 #define ZIOP_HEADER_SIZE 12
25 #define ZIOP_MAGIC "ZIOP"
27 typedef 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;
34 } ZIOPHeader;
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; */
42 } CompressionData;
44 bool
45 dissect_ziop_heur (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data);
47 #endif /* PACKET_ZIOP_H */