ROHC compression/decompression library
|
Internal structures for ROHC compression. More...
#include "rohc.h"
#include "rohc_packets.h"
#include "rohc_comp.h"
#include "wlsb.h"
#include "ip.h"
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | rohc_feedback |
Information on ROHC feedback data. More... | |
struct | rohc_comp |
The ROHC compressor. More... | |
struct | c_profile |
The ROHC compression profile. More... | |
struct | c_context |
The ROHC compression context. More... | |
struct | c_feedback |
The feedback packet. More... | |
Defines | |
#define | C_NUM_PROFILES 6 |
#define | FEEDBACK_RING_SIZE 1000 |
#define | CHANGE_TO_IR_COUNT 1700 |
#define | CHANGE_TO_FO_COUNT 700 |
#define | MAX_IR_COUNT 3 |
#define | MAX_FO_COUNT 3 |
#define | ROHC_INIT_TS_STRIDE_MIN 3U |
#define | rohc_comp_debug(context, format,...) |
#define | ROHC_MAX_MRRU 65535 |
#define | MAX_RTP_PORTS 15 |
Typedefs | |
typedef uint32_t | rohc_ctxt_key_t |
Internal structures for ROHC compression.
#define C_NUM_PROFILES 6 |
The number of ROHC profiles ready to be used
Referenced by rohc_activate_profile(), rohc_alloc_compressor(), rohc_c_info(), and rohc_c_statistics().
#define CHANGE_TO_FO_COUNT 700 |
The default maximal number of packets sent in > FO states (= SO state) before changing back the state to FO (periodic refreshes)
Referenced by rohc_alloc_compressor().
#define CHANGE_TO_IR_COUNT 1700 |
The default maximal number of packets sent in > IR states (= FO and SO states) before changing back the state to IR (periodic refreshes)
Referenced by rohc_alloc_compressor().
#define FEEDBACK_RING_SIZE 1000 |
The maximal number of outgoing feedbacks that can be queued
Referenced by rohc_alloc_compressor(), rohc_comp_piggyback_feedback(), rohc_feedback_remove_locked(), and rohc_feedback_unlock().
#define MAX_FO_COUNT 3 |
The minimal number of packets that must be sent while in FO state before being able to switch to the SO state
Referenced by c_init_header_info(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), changed_dynamic_one_hdr(), changed_static_one_hdr(), code_EXT3_packet(), code_UOR2_ID_bytes(), decide_state(), header_fields(), and header_flags().
#define MAX_IR_COUNT 3 |
The minimal number of packets that must be sent while in IR state before being able to switch to the FO state
Referenced by code_EXT3_packet(), decide_state(), and rtp_header_flags_and_fields().
#define MAX_RTP_PORTS 15 |
The maximal number of RTP ports (shall be > 2)
Referenced by rohc_alloc_compressor(), rohc_comp_add_rtp_port(), rohc_comp_remove_rtp_port(), and rohc_comp_reset_rtp_ports().
#define rohc_comp_debug | ( | context, | |
format, | |||
... | |||
) |
rohc_debug((context)->compressor, ROHC_TRACE_COMP, \ (context)->profile->id, \ format, ##__VA_ARGS__)
Print a debug trace for the given compression context
Referenced by c_generic_create(), c_generic_encode(), c_generic_feedback(), c_ip_code_ir_remainder(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), changed_dynamic_both_hdr(), changed_dynamic_one_hdr(), changed_fields(), changed_static_one_hdr(), code_EXT1_packet(), code_EXT2_packet(), code_EXT3_packet(), code_ipv4_dynamic_part(), code_ipv4_static_part(), code_ipv6_dynamic_part(), code_ipv6_static_part(), code_IR_DYN_packet(), code_IR_packet(), code_packet(), code_UO0_packet(), code_UO1_packet(), code_UO2_packet(), code_uo_remainder(), code_UOR2_bytes(), code_UOR2_ID_bytes(), code_UOR2_RTP_bytes(), code_UOR2_TS_bytes(), decide_extension(), decide_state(), header_fields(), header_flags(), rtp_header_flags_and_fields(), udp_code_static_udp_part(), and udp_code_uo_remainder().
#define ROHC_INIT_TS_STRIDE_MIN 3U |
The minimal number of packets that must be sent while in INIT_STRIDE state before being able to switch to the SEND_SCALED state
#define ROHC_MAX_MRRU 65535 |
The maximal value for MRRU
Referenced by rohc_comp_set_mrru(), and rohc_decomp_set_mrru().
typedef uint32_t rohc_ctxt_key_t |
The key to help identify (not quaranted unique) a compression context