Internal structures for ROHC decompression.
More...
Go to the source code of this file.
|
typedef bool(* | rohc_decomp_new_context_t) (const struct rohc_decomp_ctxt *const context, void **const persist_ctxt, struct rohc_decomp_volat_ctxt *const volat_ctxt) |
|
typedef void(* | rohc_decomp_free_context_t) (void *const persist_ctxt, const struct rohc_decomp_volat_ctxt *const volat_ctxt) |
|
typedef rohc_packet_t(* | rohc_decomp_detect_pkt_type_t) (const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, const size_t large_cid_len) |
|
typedef bool(* | rohc_decomp_parse_pkt_t) (const struct rohc_decomp_ctxt *const context, const struct rohc_buf rohc_packet, const size_t large_cid_len, rohc_packet_t *const packet_type, struct rohc_decomp_crc *const extr_crc, void *const extr_bits, size_t *const rohc_hdr_len) |
|
typedef rohc_status_t(* | rohc_decomp_decode_bits_t) (const struct rohc_decomp_ctxt *const context, const void *const extr_bits, const size_t payload_len, void *const decoded_values) |
|
typedef rohc_status_t(* | rohc_decomp_build_hdrs_t) (const struct rohc_decomp *const decomp, const struct rohc_decomp_ctxt *const context, const rohc_packet_t packet_type, const struct rohc_decomp_crc *const extr_crc, const void *const decoded_values, const size_t payload_len, struct rohc_buf *const uncomp_hdrs, size_t *const uncomp_hdrs_len) |
|
typedef void(* | rohc_decomp_update_ctxt_t) (struct rohc_decomp_ctxt *const context, const void *const decoded_values, const size_t payload_len, bool *const do_change_mode) |
|
typedef bool(* | rohc_decomp_attempt_repair_t) (const struct rohc_decomp *const decomp, const struct rohc_decomp_ctxt *const context, const struct rohc_ts pkt_arrival_time, struct rohc_decomp_crc_corr_ctxt *const crc_corr, void *const extr_bits) |
|
typedef uint32_t(* | rohc_decomp_get_sn_t) (const struct rohc_decomp_ctxt *const context) |
|
◆ D_NUM_PROFILES
#define D_NUM_PROFILES 10U |
The number of ROHC profiles ready to be used
◆ rohc_decomp_debug
#define rohc_decomp_debug |
( |
|
context, |
|
|
|
format, |
|
|
|
... |
|
) |
| |
Value: (context)->profile->id, \
format, ##__VA_ARGS__)
#define rohc_debug(entity_struct, entity, profile, format,...)
Definition: rohc_traces_internal.h:61
Definition: rohc_traces.h:84
Print a debug trace for the given decompression context
◆ rohc_decomp_dump_buf
#define rohc_decomp_dump_buf |
( |
|
context, |
|
|
|
descr, |
|
|
|
buf, |
|
|
|
buf_len |
|
) |
| |
Value:do { \
rohc_dump_buf((context)->decompressor->trace_callback, \
(context)->decompressor->trace_callback_priv, \
descr, buf, buf_len); \
} \
} while(0)
Definition: rohc_traces.h:61
Definition: rohc_decomp.h:305
Definition: rohc_traces.h:84
Dump a buffer for the given compression context
◆ rohc_decomp_warn
#define rohc_decomp_warn |
( |
|
context, |
|
|
|
format, |
|
|
|
... |
|
) |
| |
Value: (context)->profile->id, \
format, ##__VA_ARGS__)
#define rohc_warning(entity_struct, entity, profile, format,...)
Definition: rohc_traces_internal.h:71
Definition: rohc_traces.h:84
Print a warning trace for the given decompression context
◆ ROHC_MAX_ARRIVAL_TIMES
#define ROHC_MAX_ARRIVAL_TIMES 10U |
The number of last packets to record arrival times for
◆ ROHC_MAX_MRRU
#define ROHC_MAX_MRRU 65535 |
The maximal value for MRRU
◆ rohc_decomp_attempt_repair_t
◆ rohc_decomp_build_hdrs_t
◆ rohc_decomp_decode_bits_t
typedef rohc_status_t(* rohc_decomp_decode_bits_t) (const struct rohc_decomp_ctxt *const context, const void *const extr_bits, const size_t payload_len, void *const decoded_values) |
◆ rohc_decomp_detect_pkt_type_t
typedef rohc_packet_t(* rohc_decomp_detect_pkt_type_t) (const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, const size_t large_cid_len) |
◆ rohc_decomp_free_context_t
typedef void(* rohc_decomp_free_context_t) (void *const persist_ctxt, const struct rohc_decomp_volat_ctxt *const volat_ctxt) |
◆ rohc_decomp_get_sn_t
typedef uint32_t(* rohc_decomp_get_sn_t) (const struct rohc_decomp_ctxt *const context) |
◆ rohc_decomp_new_context_t
◆ rohc_decomp_parse_pkt_t
typedef bool(* rohc_decomp_parse_pkt_t) (const struct rohc_decomp_ctxt *const context, const struct rohc_buf rohc_packet, const size_t large_cid_len, rohc_packet_t *const packet_type, struct rohc_decomp_crc *const extr_crc, void *const extr_bits, size_t *const rohc_hdr_len) |
◆ rohc_decomp_update_ctxt_t
typedef void(* rohc_decomp_update_ctxt_t) (struct rohc_decomp_ctxt *const context, const void *const decoded_values, const size_t payload_len, bool *const do_change_mode) |
◆ rohc_decomp_crc_corr_t
The different correction algorithms available in case of CRC failure.
Enumerator |
---|
ROHC_DECOMP_CRC_CORR_SN_NONE | No correction
|
ROHC_DECOMP_CRC_CORR_SN_WRAP | Correction of SN wraparound
|
ROHC_DECOMP_CRC_CORR_SN_UPDATES | Correction of incorrect SN updates
|