diff options
author | ismaelrti <ismael@rti.com> | 2019-06-25 13:31:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-06-28 04:07:05 +0000 |
commit | fe5015f60384cbc462fa0b0ef48d7e2ed8390901 (patch) | |
tree | c7cf9751c59b756fbb771f1e68b9f8cc850e224d /epan/dissectors/packet-rtps.h | |
parent | c4a0ca271f4b8e0e99a945dacbe1eac4163b4d36 (diff) |
RTPS: Decompress ZLIB compressed serialized Type Object
Type Object parameter can be sent compressed using zlib to
save bandwidth. This data can be decompressed and
dissected as an usual Type Object.
Change-Id: Id226b01daff225bb8e21aea765dcc5f7a0165bb7
Reviewed-on: https://code.wireshark.org/review/33738
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rtps.h')
-rw-r--r-- | epan/dissectors/packet-rtps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rtps.h b/epan/dissectors/packet-rtps.h index f5c0c77dd2..43da84fc2e 100644 --- a/epan/dissectors/packet-rtps.h +++ b/epan/dissectors/packet-rtps.h @@ -573,6 +573,12 @@ typedef struct _rtps_dissector_data { #define NOT_A_FRAGMENT (-1) +/* */ +#define RTI_OSAPI_COMPRESSION_CLASS_ID_NONE (0) +#define RTI_OSAPI_COMPRESSION_CLASS_ID_ZLIB (1) +#define RTI_OSAPI_COMPRESSION_CLASS_ID_BZIP2 (2) +#define RTI_OSAPI_COMPRESSION_CLASS_ID_AUTO (G_MAXUINT32) + /* Utilities to add elements to the protocol tree for packet-rtps.h and packet-rtps2.h */ extern guint16 rtps_util_add_protocol_version(proto_tree *tree, tvbuff_t* tvb, gint offset); extern guint16 rtps_util_add_vendor_id(proto_tree *tree, tvbuff_t * tvb, gint offset); |