Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-rohc.h
blobd47f7b43372931fa4be1ecb52b7edb97bf5b9b3a
1 /* packet-rohc.h
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
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
18 #ifndef PACKET_ROHC_H
19 #define PACKET_ROHC_H
21 #define MAX_CID 15
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
30 enum rohc_mode
32 MODE_NOT_SET = 0,
33 UNIDIRECTIONAL = 1,
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;
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;
52 #endif /* PACKET_ROHC_H */