| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-rohc.h
1/* packet-rohc.h
2 * Routines for RObust Header Compression (ROHC) dissection.
3 *
4 * Copyright 2011, Anders Broman <anders.broman[at]ericsson.com>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 *
12 * Ref:
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
16 */
17
18#ifndef PACKET_ROHC_H
19#define PACKET_ROHC_H
20
21#define MAX_CID 15
22
23 /* ROHC Profiles */
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
29
30 enum rohc_mode
31{
32 MODE_NOT_SET = 0,
33 UNIDIRECTIONAL = 1,
34 OPTIMISTIC_BIDIRECTIONAL = 2,
35 RELIABLE_BIDIRECTIONAL = 3
36};
37
38
39 typedef struct rohc_info
40{
41 bool rohc_compression;
42 uint8_t rohc_ip_version;
43 bool cid_inclusion_info;
44 bool large_cid_present;
45 enum rohc_mode mode;
46 bool rnd;
47 bool udp_checksum_present;
48 uint16_t profile;
49 proto_item *last_created_item;
50} rohc_info;
51
52#endif /* PACKET_ROHC_H */
_proto_node
Definition proto.h:907
profile
Definition packet-epl.h:22
rohc_info
Definition packet-rohc.h:40