Data Structures |
| struct | d_decode_data |
| | Decompression-related data. More...
|
Functions |
| static bool | rohc_decomp_create_contexts (struct rohc_decomp *const decomp, const rohc_cid_t max_cid) |
| | Create the array of decompression contexts.
|
| 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 d_decode_data *ddata, rohc_packet_t *const packet_type) |
| | Decompress the compressed headers.
|
| static 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.
|
| 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.
|
| 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.
|
| static void | context_free (struct rohc_decomp_ctxt *const context) |
| | Destroy one decompression context and the profile specific data associated with it.
|
| static bool | rohc_decomp_decode_cid (struct rohc_decomp *decomp, const unsigned char *packet, unsigned int len, struct d_decode_data *ddata) |
| | Decode the CID of a packet.
|
| static void | rohc_decomp_print_trace_default (const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...) |
| | The default callback for traces.
|
| static bool | __rohc_decomp_set_cid_type (struct rohc_decomp *const decomp, const rohc_cid_type_t cid_type) |
| | Set the type of CID to use for the given decompressor.
|
| static bool | __rohc_decomp_set_max_cid (struct rohc_decomp *const decomp, const size_t max_cid) |
| | Set the MAX_CID allowed for the given decompressor.
|
| static void | rohc_decomp_parse_padding (const struct rohc_decomp *const decomp, struct rohc_buf *const packet) |
| | Parse padding bits if some are present.
|
| 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.
|
| static bool | rohc_decomp_parse_feedback (struct rohc_decomp *const decomp, struct rohc_buf *const rohc_data, struct rohc_buf *const feedback) |
| | Parse a feedback item from the given ROHC data.
|
| static void | d_operation_mode_feedback (struct rohc_decomp *decomp, const rohc_status_t rohc_status, const uint16_t cid, const rohc_cid_type_t cid_type, int mode, struct rohc_decomp_ctxt *context, struct rohc_buf *const feedback_send) |
| | Send feedback depending on the mode: Unidirectional, Optimistic or Reliable.
|
| static void | d_optimistic_feedback (struct rohc_decomp *decomp, const rohc_status_t rohc_status, const rohc_cid_t cid, const rohc_cid_type_t cid_type, struct rohc_decomp_ctxt *context, struct rohc_buf *const feedback_send) |
| | Send feedback in Optimistic Mode.
|
| static void | rohc_decomp_reset_stats (struct rohc_decomp *const decomp) |
| | Reset all the statistics of the given ROHC decompressor.
|
| static int | rohc_d_context (struct rohc_decomp *decomp, const size_t pos, unsigned int indent, char *buffer) |
| | Output the statistics of one decompression context to a buffer.
|
| struct rohc_decomp * | rohc_alloc_decompressor (struct rohc_comp *compressor) |
| | Create one ROHC decompressor.
|
| void | rohc_free_decompressor (struct rohc_decomp *decomp) |
| | Destroy one ROHC decompressor.
|
| struct rohc_decomp * | rohc_decomp_new (const rohc_cid_type_t cid_type, const rohc_cid_t max_cid, const rohc_mode_t mode, struct rohc_comp *const comp) |
| | Create a new ROHC decompressor.
|
| 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.
|
| void | rohc_decomp_free (struct rohc_decomp *const decomp) |
| | Destroy the given ROHC decompressor.
|
| int | rohc_decompress (struct rohc_decomp *decomp, unsigned char *ibuf, int isize, unsigned char *obuf, int osize) |
| | Decompress the given ROHC packet into one uncompressed packet.
|
| int | rohc_decompress2 (struct rohc_decomp *const decomp, const struct rohc_ts arrival_time, const unsigned char *const rohc_packet, const size_t rohc_packet_len, unsigned char *const uncomp_packet, const size_t uncomp_packet_max_len, size_t *const uncomp_packet_len) |
| | Decompress the given ROHC packet into one uncompressed packet.
|
| 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.
|
| int | rohc_decompress_both (struct rohc_decomp *decomp, unsigned char *ibuf, int isize, unsigned char *obuf, int osize, int large) |
| | Decompress both large and small CID packets.
|
| void | clear_statistics (struct rohc_decomp *decomp) |
| | Clear all the statistics.
|
| int | rohc_d_statistics (struct rohc_decomp *decomp, unsigned int indent, char *buffer) |
| | Output the decompression statistics of one decompressor to a buffer. The buffer must be large enough to store all the statistics.
|
| const char * | rohc_decomp_get_state_descr (const rohc_decomp_state_t state) |
| | Give a description for the given ROHC decompression context state.
|
| 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.
|
| 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.
|
| void | user_interactions (struct rohc_decomp *decomp, int feedback_maxval) |
| | Update feedback interval by the user.
|
| bool | rohc_decomp_set_cid_type (struct rohc_decomp *const decomp, const rohc_cid_type_t cid_type) |
| | Set the type of CID to use for the given decompressor.
|
| 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.
|
| bool | rohc_decomp_set_max_cid (struct rohc_decomp *const decomp, const size_t max_cid) |
| | Set the MAX_CID allowed for the given decompressor.
|
| 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.
|
| bool | rohc_decomp_set_mrru (struct rohc_decomp *const decomp, const size_t mrru) |
| | Set the Maximum Reconstructed Reception Unit (MRRU).
|
| bool | rohc_decomp_get_mrru (const struct rohc_decomp *const decomp, size_t *const mrru) |
| | Get the Maximum Reconstructed Reception Unit (MRRU).
|
| bool | rohc_decomp_set_features (struct rohc_decomp *const decomp, const rohc_decomp_features_t features) |
| | Enable/disable features for ROHC decompressor.
|
| 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?
|
| bool | rohc_decomp_enable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| | Enable a decompression profile for a decompressor.
|
| bool | rohc_decomp_disable_profile (struct rohc_decomp *const decomp, const rohc_profile_t profile) |
| | Disable a decompression profile for a decompressor.
|
| bool | rohc_decomp_enable_profiles (struct rohc_decomp *const decomp,...) |
| | Enable several decompression profiles for a decompressor.
|
| bool | rohc_decomp_disable_profiles (struct rohc_decomp *const decomp,...) |
| | Disable several decompression profiles for a decompressor.
|
| bool | rohc_decomp_set_traces_cb (struct rohc_decomp *decomp, rohc_trace_callback_t callback) |
| | Set the callback function used to manage traces in decompressor.
|
| 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.
|
Variables |
struct rohc_decomp_profile
d_uncomp_profile d_udp_profile
d_ip_profile d_udplite_profile
d_esp_profile d_rtp_profile | d_tcp_profile |
| | Define the decompression part of the TCP profile as described in the RFC 3095.
|
static struct
rohc_decomp_profile *const | rohc_decomp_profiles [D_NUM_PROFILES] |
| | The decompression parts of the ROHC profiles.
|