ROHC compression/decompression library
Defines | Enumerations | Functions
rohc_packets.h File Reference

Definition of ROHC packets and extensions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ROHC_EXPORT

Enumerations

enum  rohc_packet_t {
  PACKET_IR = 0, PACKET_IR_DYN = 1, PACKET_UO_0 = 2, PACKET_UO_1 = 3,
  PACKET_UO_1_ID = 4, PACKET_UO_1_TS = 5, PACKET_UO_1_RTP = 6, PACKET_UOR_2 = 7,
  PACKET_UOR_2_RTP = 8, PACKET_UOR_2_ID = 9, PACKET_UOR_2_TS = 10, PACKET_CCE = 11,
  PACKET_CCE_OFF = 12, PACKET_NORMAL = 13, PACKET_UNKNOWN = 14
}
 The different types of ROHC packets. More...
enum  rohc_ext_t {
  PACKET_EXT_0 = 0, PACKET_EXT_1 = 1, PACKET_EXT_2 = 2, PACKET_EXT_3 = 3,
  PACKET_NOEXT = 4, PACKET_EXT_UNKNOWN = 5
}
 The different types of extensions for UO-1-ID and UOR-2* packets. More...

Functions

const char *ROHC_EXPORT rohc_get_packet_descr (const rohc_packet_t packet_type)
 Give a description for the given type of ROHC packet.
const char *ROHC_EXPORT rohc_get_ext_descr (const rohc_ext_t ext_type)
 Give a description for the given type of ROHC extension.

Detailed Description

Definition of ROHC packets and extensions.

Author:
Didier Barvaux <didier.barvaux@toulouse.viveris.com>

Define Documentation

#define ROHC_EXPORT

Macro that handles DLL export declarations gracefully


Enumeration Type Documentation

enum rohc_ext_t

The different types of extensions for UO-1-ID and UOR-2* packets.

If you add a new extension type, please also add the corresponding textual description in rohc_get_ext_descr.

Enumerator:
PACKET_EXT_0 

The EXT-0 extension for UO-1-ID/UOR-2* packets

PACKET_EXT_1 

The EXT-1 extension for UO-1-ID/UOR-2* packets

PACKET_EXT_2 

The EXT-2 extension for UO-1-ID/UOR-2* packets

PACKET_EXT_3 

The EXT-3 extension for UO-1-ID/UOR-2* packets

PACKET_NOEXT 

No extension for UO-1-ID/UOR-2* packets

PACKET_EXT_UNKNOWN 

Unknown packet extension type

The different types of ROHC packets.

If you add a new packet type, please also add the corresponding textual description in rohc_get_packet_descr.

Enumerator:
PACKET_IR 

ROHC IR packet

PACKET_IR_DYN 

ROHC IR-DYN packet

PACKET_UO_0 

ROHC UO-0 packet

PACKET_UO_1 

ROHC UO-1 packet (for all non-RTP profiles)

PACKET_UO_1_ID 

ROHC UO-1-ID packet (RTP profile only)

PACKET_UO_1_TS 

ROHC UO-1-TS packet (RTP profile only)

PACKET_UO_1_RTP 

ROHC UO-1-RTP packet (RTP profile only)

PACKET_UOR_2 

ROHC UOR-2 packet (for all non-RTP profiles)

PACKET_UOR_2_RTP 

ROHC UO-2 packet (RTP profile only)

PACKET_UOR_2_ID 

ROHC UO-2-ID packet (RTP profile only)

PACKET_UOR_2_TS 

ROHC UO-2-TS packet (RTP profile only)

PACKET_CCE 

ROHC CCE packet (UDP-Lite profile only)

PACKET_CCE_OFF 

ROHC CCE(OFF) packet (UDP-Lite profile only)

PACKET_NORMAL 

ROHC Normal packet (Uncompressed profile only)

PACKET_UNKNOWN 

Unknown packet type