|
static bool | rohc_decomp_create_contexts (struct rohc_decomp *const decomp, const rohc_cid_t max_cid) |
| Create the array of decompression contexts. More...
|
|
static const struct rohc_decomp_profile * | find_profile (const struct rohc_decomp *const decomp, const rohc_profile_t profile_id) |
| Find the ROHC profile with the given profile ID. More...
|
|
static struct rohc_decomp_ctxt * | context_create (struct rohc_decomp *decomp, const rohc_cid_t cid, const struct rohc_decomp_profile *const profile, const struct rohc_ts arrival_time) |
| Create one new decompression context with profile specific data. More...
|
|
static struct rohc_decomp_ctxt * | find_context (const struct rohc_decomp *const decomp, const rohc_cid_t cid) |
| Find one decompression context thanks to its CID. More...
|
|
static void | context_free (struct rohc_decomp_ctxt *const context) |
| Destroy one decompression context and the profile specific data associated with it. More...
|
|
static rohc_status_t | d_decode_header (struct rohc_decomp *decomp, const struct rohc_buf rohc_packet, struct rohc_buf *const uncomp_packet, struct rohc_buf *const rcvd_feedback, struct rohc_decomp_stream *const stream) |
| Decompress the compressed headers. More...
|
|
static bool | rohc_decomp_decode_cid (struct rohc_decomp *decomp, const uint8_t *packet, unsigned int len, rohc_cid_t *const cid, size_t *const add_cid_len, size_t *const large_cid_len) |
| Decode the CID of a packet. More...
|
|
static void | rohc_decomp_parse_padding (const struct rohc_decomp *const decomp, struct rohc_buf *const packet) |
| Parse padding bits if some are present. More...
|
|
static rohc_status_t | rohc_decomp_find_context (struct rohc_decomp *const decomp, const uint8_t *const packet, const size_t packet_len, const rohc_cid_type_t cid, const size_t large_cid_len, const struct rohc_ts arrival_time, rohc_profile_t *const profile_id, struct rohc_decomp_ctxt **const context, bool *const context_created) |
| Find the context for the given ROHC packet. More...
|
|
static rohc_status_t | rohc_decomp_decode_pkt (struct rohc_decomp *const decomp, struct rohc_decomp_ctxt *const context, const struct rohc_buf rohc_packet, const size_t add_cid_len, const size_t large_cid_len, struct rohc_buf *const uncomp_packet, rohc_packet_t *const packet_type, bool *const do_change_mode) |
| Decode one ROHC packet. More...
|
|
static bool | rohc_decomp_check_ir_crc (const struct rohc_decomp *const decomp, const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_hdr, const size_t rohc_hdr_len, const size_t add_cid_len, const size_t large_cid_len, const uint8_t crc_packet) |
| Check whether the CRC on IR or IR-DYN header is correct or not. More...
|
|
static void | rohc_decomp_stats_add_success (struct rohc_decomp_ctxt *const context, const size_t comp_hdr_len, const size_t uncomp_hdr_len) |
| Update statistics upon successful decompression. More...
|
|
static void | rohc_decomp_update_context (struct rohc_decomp_ctxt *const context, const void *const decoded, const size_t payload_len, const struct rohc_ts pkt_arrival_time, bool *const do_change_mode) |
| Update context with decoded values. More...
|
|
static bool | rohc_decomp_parse_feedbacks (struct rohc_decomp *const decomp, struct rohc_buf *const rohc_data, struct rohc_buf *const feedbacks) |
| Parse zero or more feedback items from the given ROHC data. More...
|
|
static bool | rohc_decomp_parse_feedback (struct rohc_decomp *const decomp, struct rohc_buf *const rohc_data, struct rohc_buf *const feedback, size_t *const feedback_len) |
| Parse a feedback item from the given ROHC data. More...
|
|
static bool | rohc_decomp_feedback_ack (struct rohc_decomp *const decomp, const struct rohc_decomp_stream *const infos, struct rohc_buf *const feedback) |
| Build a positive ACK feedback. More...
|
|
static bool | rohc_decomp_feedback_nack (struct rohc_decomp *const decomp, const struct rohc_decomp_stream *const infos, struct rohc_buf *const feedback) |
| Build a negative ACK feedback. More...
|
|
static void | rohc_decomp_reset_stats (struct rohc_decomp *const decomp) |
| Reset all the statistics of the given ROHC decompressor. More...
|
|
static bool | rohc_decomp_packet_carry_static_info (const rohc_packet_t packet_type) |
| Does packet type carry static information? More...
|
|
static bool | rohc_decomp_packet_carry_crc_7_or_8 (const rohc_packet_t packet_type) |
| Does packet type carry 7- or 8-bit CRC? More...
|
|
struct rohc_decomp * | rohc_decomp_new2 (const rohc_cid_type_t cid_type, const rohc_cid_t max_cid, const rohc_mode_t mode) |
| Create a new ROHC decompressor. More...
|
|
void | rohc_decomp_free (struct rohc_decomp *const decomp) |
| Destroy the given ROHC decompressor. More...
|
|
rohc_status_t | rohc_decompress3 (struct rohc_decomp *const decomp, const struct rohc_buf rohc_packet, struct rohc_buf *const uncomp_packet, struct rohc_buf *const rcvd_feedback, struct rohc_buf *const feedback_send) |
| Decompress the given ROHC packet into one uncompressed packet. More...
|
|
const char * | rohc_decomp_get_state_descr (const rohc_decomp_state_t state) |
| Give a description for the given ROHC decompression context state. More...
|
|
bool | rohc_decomp_get_last_packet_info (const struct rohc_decomp *const decomp, rohc_decomp_last_packet_info_t *const info) |
| Get some information about the last decompressed packet. More...
|
|
bool | rohc_decomp_get_context_info (const struct rohc_decomp *const decomp, const rohc_cid_t cid, rohc_decomp_context_info_t *const info) |
| Get some information about the given decompression context. More...
|
|
bool | rohc_decomp_get_general_info (const struct rohc_decomp *const decomp, rohc_decomp_general_info_t *const info) |
| Get some general information about the decompressor. More...
|
|
bool | rohc_decomp_get_cid_type (const struct rohc_decomp *const decomp, rohc_cid_type_t *const cid_type) |
| Get the CID type that the decompressor uses. More...
|
|
bool | rohc_decomp_get_max_cid (const struct rohc_decomp *const decomp, size_t *const max_cid) |
| Get the maximal CID value the decompressor uses. More...
|
|
bool | rohc_decomp_set_mrru (struct rohc_decomp *const decomp, const size_t mrru) |
| Set the Maximum Reconstructed Reception Unit (MRRU). More...
|
|
bool | rohc_decomp_get_mrru (const struct rohc_decomp *const decomp, size_t *const mrru) |
| Get the Maximum Reconstructed Reception Unit (MRRU). More...
|
|
bool | rohc_decomp_set_prtt (struct rohc_decomp *const decomp, const size_t prtt) |
| Set the number of packets sent during one Round-Trip Time (RTT). More...
|
|
bool | rohc_decomp_get_prtt (const struct rohc_decomp *const decomp, size_t *const prtt) |
| Get the number of packets sent during one Round-Trip Time (RTT). More...
|
|
bool | rohc_decomp_set_rate_limits (struct rohc_decomp *const decomp, const size_t k, const size_t n, const size_t k_1, const size_t n_1, const size_t k_2, const size_t n_2) |
| Set the rate limits for feedbacks. More...
|
|
bool | rohc_decomp_get_rate_limits (const struct rohc_decomp *const decomp, size_t *const k, size_t *const n, size_t *const k_1, size_t *const n_1, size_t *const k_2, size_t *const n_2) |
| Get the rate limits for feedbacks currently configured. More...
|
|
bool | rohc_decomp_set_features (struct rohc_decomp *const decomp, const rohc_decomp_features_t features) |
| Enable/disable features for ROHC decompressor. More...
|
|
bool | rohc_decomp_profile_enabled (const struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Is the given decompression profile enabled for a decompressor? More...
|
|
bool | rohc_decomp_enable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Enable a decompression profile for a decompressor. More...
|
|
bool | rohc_decomp_disable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Disable a decompression profile for a decompressor. More...
|
|
bool | rohc_decomp_enable_profiles (struct rohc_decomp *const decomp,...) |
| Enable several decompression profiles for a decompressor. More...
|
|
bool | rohc_decomp_disable_profiles (struct rohc_decomp *const decomp,...) |
| Disable several decompression profiles for a decompressor. More...
|
|
bool | rohc_decomp_set_traces_cb2 (struct rohc_decomp *decomp, rohc_trace_callback2_t callback, void *const priv_ctxt) |
| Set the callback function used to manage traces in decompressor. More...
|
|