2 * Routines for RObust Header Compression (ROHC) dissection.
4 * Copyright 2011, Anders Broman <anders.broman[at]ericsson.com>
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 * http://www.ietf.org/rfc/rfc3095.txt RObust Header Compression (ROHC): Framework and four profiles: RTP, UDP, ESP, and uncompressed
14 * http://datatracker.ietf.org/doc/rfc4815/ RObust Header Compression (ROHC): Corrections and Clarifications to RFC 3095
15 * http://datatracker.ietf.org/doc/rfc5225/ RObust Header Compression Version 2 (ROHCv2): Profiles for RTP, UDP, IP, ESP and UDP-Lite
24 #define ROHC_PROFILE_UNCOMPRESSED 0
25 #define ROHC_PROFILE_RTP 1
26 #define ROHC_PROFILE_UDP 2
27 #define ROHC_PROFILE_IP 4
28 #define ROHC_PROFILE_UNKNOWN 0xFFFF
34 OPTIMISTIC_BIDIRECTIONAL
= 2,
35 RELIABLE_BIDIRECTIONAL
= 3
39 typedef struct rohc_info
41 bool rohc_compression
;
42 uint8_t rohc_ip_version
;
43 bool cid_inclusion_info
;
44 bool large_cid_present
;
47 bool udp_checksum_present
;
49 proto_item
*last_created_item
;
52 #endif /* PACKET_ROHC_H */