ROHC decompression routines. More...
#include <rohc/rohc.h>#include <rohc/rohc_packets.h>#include <rohc/rohc_traces.h>#include <rohc/rohc_buf.h>

Go to the source code of this file.
Data Structures | |
| struct | rohc_decomp_last_packet_info_t |
| Some information about the last decompressed packet. More... | |
| struct | rohc_decomp_context_info_t |
| Some information about one decompression context. More... | |
| struct | rohc_decomp_general_info_t |
| Some general information about the decompressor. More... | |
Defines | |
| #define | ROHC_EXPORT |
Enumerations | |
| enum | rohc_decomp_state_t { ROHC_DECOMP_STATE_UNKNOWN = 0, ROHC_DECOMP_STATE_NC = 1, ROHC_DECOMP_STATE_SC = 2, ROHC_DECOMP_STATE_FC = 3 } |
The ROHC decompressor states. More... | |
| enum | rohc_decomp_features_t { ROHC_DECOMP_FEATURE_NONE = 0, ROHC_DECOMP_FEATURE_CRC_REPAIR = (1 << 0), ROHC_DECOMP_FEATURE_COMPAT_1_6_x = (1 << 1), ROHC_DECOMP_FEATURE_DUMP_PACKETS = (1 << 3) } |
The different features of the ROHC decompressor. More... | |
Functions | |
| struct rohc_decomp *ROHC_EXPORT | 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. | |
| void ROHC_EXPORT | rohc_decomp_free (struct rohc_decomp *const decomp) |
| Destroy the given ROHC decompressor. | |
| rohc_status_t ROHC_EXPORT | 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. | |
| const char *ROHC_EXPORT | rohc_decomp_get_state_descr (const rohc_decomp_state_t state) |
| Give a description for the given ROHC decompression context state. | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | rohc_decomp_get_max_cid (const struct rohc_decomp *const decomp, size_t *const max_cid) |
| Get the maximal CID value the decompressor uses. | |
| bool ROHC_EXPORT | rohc_decomp_set_mrru (struct rohc_decomp *const decomp, const size_t mrru) |
| Set the Maximum Reconstructed Reception Unit (MRRU). | |
| bool ROHC_EXPORT | rohc_decomp_get_mrru (const struct rohc_decomp *const decomp, size_t *const mrru) |
| Get the Maximum Reconstructed Reception Unit (MRRU). | |
| bool ROHC_EXPORT | 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). | |
| bool ROHC_EXPORT | 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). | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | 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. | |
| bool ROHC_EXPORT | rohc_decomp_set_features (struct rohc_decomp *const decomp, const rohc_decomp_features_t features) |
| Enable/disable features for ROHC decompressor. | |
| bool ROHC_EXPORT | rohc_decomp_profile_enabled (const struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Is the given decompression profile enabled for a decompressor? | |
| bool ROHC_EXPORT | rohc_decomp_enable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Enable a decompression profile for a decompressor. | |
| bool ROHC_EXPORT | rohc_decomp_disable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| Disable a decompression profile for a decompressor. | |
| bool ROHC_EXPORT | rohc_decomp_enable_profiles (struct rohc_decomp *const decomp,...) |
| Enable several decompression profiles for a decompressor. | |
| bool ROHC_EXPORT | rohc_decomp_disable_profiles (struct rohc_decomp *const decomp,...) |
| Disable several decompression profiles for a decompressor. | |
| bool ROHC_EXPORT | rohc_decomp_set_traces_cb2 (struct rohc_decomp *const decomp, rohc_trace_callback2_t callback, void *const priv_ctxt) |
| Set the callback function used to manage traces in decompressor. | |
ROHC decompression routines.
| #define ROHC_EXPORT |
Macro that handles DLL export declarations gracefully
1.6.1