Definition of ROHC packets and extensions.
More...
#include <stdbool.h>
Go to the source code of this file.
|
enum | rohc_packet_t {
ROHC_PACKET_IR = 0,
ROHC_PACKET_IR_DYN = 1,
ROHC_PACKET_UO_0 = 2,
ROHC_PACKET_UO_1 = 3,
ROHC_PACKET_UO_1_ID = 4,
ROHC_PACKET_UO_1_TS = 5,
ROHC_PACKET_UO_1_RTP = 6,
ROHC_PACKET_UOR_2 = 7,
ROHC_PACKET_UOR_2_RTP = 8,
ROHC_PACKET_UOR_2_ID = 9,
ROHC_PACKET_UOR_2_TS = 10,
ROHC_PACKET_NORMAL = 13,
ROHC_PACKET_UNKNOWN = 14,
ROHC_PACKET_TCP_CO_COMMON = 15,
ROHC_PACKET_TCP_RND_1 = 16,
ROHC_PACKET_TCP_RND_2 = 17,
ROHC_PACKET_TCP_RND_3 = 18,
ROHC_PACKET_TCP_RND_4 = 19,
ROHC_PACKET_TCP_RND_5 = 20,
ROHC_PACKET_TCP_RND_6 = 21,
ROHC_PACKET_TCP_RND_7 = 22,
ROHC_PACKET_TCP_RND_8 = 23,
ROHC_PACKET_TCP_SEQ_1 = 24,
ROHC_PACKET_TCP_SEQ_2 = 25,
ROHC_PACKET_TCP_SEQ_3 = 26,
ROHC_PACKET_TCP_SEQ_4 = 27,
ROHC_PACKET_TCP_SEQ_5 = 28,
ROHC_PACKET_TCP_SEQ_6 = 29,
ROHC_PACKET_TCP_SEQ_7 = 30,
ROHC_PACKET_TCP_SEQ_8 = 31,
ROHC_PACKET_IR_CR = 32,
ROHC_PACKET_MAX
} |
| The different types of ROHC packets. More...
|
|
enum | rohc_ext_t {
ROHC_EXT_0 = 0,
ROHC_EXT_1 = 1,
ROHC_EXT_2 = 2,
ROHC_EXT_3 = 3,
ROHC_EXT_NONE = 4,
ROHC_EXT_UNKNOWN = 5
} |
| The different types of extensions for UO-1-ID and UOR-2* packets. More...
|
|
◆ ROHC_EXPORT
Macro that handles DLL export declarations gracefully
◆ 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 |
---|
ROHC_EXT_0 | The EXT-0 extension for UO-1-ID/UOR-2* packets
|
ROHC_EXT_1 | The EXT-1 extension for UO-1-ID/UOR-2* packets
|
ROHC_EXT_2 | The EXT-2 extension for UO-1-ID/UOR-2* packets
|
ROHC_EXT_3 | The EXT-3 extension for UO-1-ID/UOR-2* packets
|
ROHC_EXT_NONE | No extension for UO-1-ID/UOR-2* packets
|
ROHC_EXT_UNKNOWN | Unknown packet extension type
|
◆ rohc_packet_t
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 |
---|
ROHC_PACKET_IR | ROHC IR packet
|
ROHC_PACKET_IR_DYN | ROHC IR-DYN packet
|
ROHC_PACKET_UO_0 | ROHC UO-0 packet
|
ROHC_PACKET_UO_1 | ROHC UO-1 packet (for all non-RTP profiles)
|
ROHC_PACKET_UO_1_ID | ROHC UO-1-ID packet (RTP profile only)
|
ROHC_PACKET_UO_1_TS | ROHC UO-1-TS packet (RTP profile only)
|
ROHC_PACKET_UO_1_RTP | ROHC UO-1-RTP packet (RTP profile only)
|
ROHC_PACKET_UOR_2 | ROHC UOR-2 packet (for all non-RTP profiles)
|
ROHC_PACKET_UOR_2_RTP | ROHC UO-2 packet (RTP profile only)
|
ROHC_PACKET_UOR_2_ID | ROHC UO-2-ID packet (RTP profile only)
|
ROHC_PACKET_UOR_2_TS | ROHC UO-2-TS packet (RTP profile only)
|
ROHC_PACKET_NORMAL | ROHC Normal packet (Uncompressed profile only)
|
ROHC_PACKET_UNKNOWN | Unknown packet type
|
ROHC_PACKET_TCP_CO_COMMON | TCP co_common packet
|
ROHC_PACKET_TCP_RND_1 | TCP rnd_1 packet
|
ROHC_PACKET_TCP_RND_2 | TCP rnd_2 packet
|
ROHC_PACKET_TCP_RND_3 | TCP rnd_3 packet
|
ROHC_PACKET_TCP_RND_4 | TCP rnd_4 packet
|
ROHC_PACKET_TCP_RND_5 | TCP rnd_5 packet
|
ROHC_PACKET_TCP_RND_6 | TCP rnd_6 packet
|
ROHC_PACKET_TCP_RND_7 | TCP rnd_7 packet
|
ROHC_PACKET_TCP_RND_8 | TCP rnd_8 packet
|
ROHC_PACKET_TCP_SEQ_1 | TCP seq_1 packet
|
ROHC_PACKET_TCP_SEQ_2 | TCP seq_2 packet
|
ROHC_PACKET_TCP_SEQ_3 | TCP seq_3 packet
|
ROHC_PACKET_TCP_SEQ_4 | TCP seq_4 packet
|
ROHC_PACKET_TCP_SEQ_5 | TCP seq_5 packet
|
ROHC_PACKET_TCP_SEQ_6 | TCP seq_6 packet
|
ROHC_PACKET_TCP_SEQ_7 | TCP seq_7 packet
|
ROHC_PACKET_TCP_SEQ_8 | TCP seq_8 packet
|
ROHC_PACKET_IR_CR | ROHC IR-CR packet
|
ROHC_PACKET_MAX | The number of packet types
|
◆ rohc_packet_carry_crc_7_or_8()
Does packet type carry 7- or 8-bit CRC?
- Parameters
-
packet_type | The type of packet |
- Returns
- true if packet carries 7- or 8-bit CRC, false if it does not
◆ rohc_packet_carry_static_info()
Does packet type carry static information?
- Parameters
-
packet_type | The type of packet |
- Returns
- true if packet carries static information, false if it does not
◆ rohc_packet_is_ir()
Is the packet one IR, IR-DYN or IR-CR packet?
- Parameters
-
packet_type | The type of packet |
- Returns
- true if packet is IR, IR-DYN or IR-CR, false if it does not