36 #include <rohc/rohc.h> 37 #include <rohc/rohc_packets.h> 38 #include <rohc/rohc_traces.h> 39 #include <rohc/rohc_buf.h> 44 # define ROHC_EXPORT __declspec(dllexport) 317 __attribute__((warn_unused_result));
323 struct rohc_buf *
const uncomp_packet,
324 struct rohc_buf *
const rcvd_feedback,
325 struct rohc_buf *
const feedback_send)
326 __attribute__((warn_unused_result));
335 __attribute__((warn_unused_result,
const));
339 __attribute__((warn_unused_result));
344 __attribute__((warn_unused_result));
348 __attribute__((warn_unused_result));
359 __attribute__((warn_unused_result));
362 size_t *
const max_cid)
363 __attribute__((warn_unused_result));
369 __attribute__((warn_unused_result));
373 __attribute__((warn_unused_result));
379 __attribute__((warn_unused_result));
383 __attribute__((warn_unused_result));
388 const size_t k,
const size_t n,
389 const size_t k_1,
const size_t n_1,
390 const size_t k_2,
const size_t n_2)
391 __attribute__((warn_unused_result));
394 size_t *
const k,
size_t *
const n,
395 size_t *
const k_1,
size_t *
const n_1,
396 size_t *
const k_2,
size_t *
const n_2)
397 __attribute__((warn_unused_result));
403 __attribute__((warn_unused_result));
412 __attribute__((warn_unused_result));
416 __attribute__((warn_unused_result));
420 __attribute__((warn_unused_result));
424 __attribute__((warn_unused_result));
428 __attribute__((warn_unused_result));
437 void *const priv_ctxt)
438 __attribute__((warn_unused_result));
unsigned long comp_bytes_nr
Definition: rohc_decomp.h:209
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:276
bool ROHC_EXPORT rohc_decomp_enable_profiles(struct rohc_decomp *const decomp,...)
Enable several decompression profiles for a decompressor.
Definition: rohc_decomp.c:3485
#define ROHC_EXPORT
Definition: rohc_decomp.h:46
The ROHC decompressor.
Definition: rohc_decomp_internals.h:142
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:218
size_t rohc_cid_t
Definition: rohc.h:193
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.
Definition: rohc_decomp.c:2405
bool ROHC_EXPORT rohc_decomp_disable_profile(struct rohc_decomp *const decomp, const rohc_profile_t profile)
Disable a decompression profile for a decompressor.
Definition: rohc_decomp.c:3411
rohc_mode_t
ROHC operation modes.
Definition: rohc.h:109
unsigned long total_last_comp_size
Definition: rohc_decomp.h:155
bool ROHC_EXPORT rohc_decomp_set_features(struct rohc_decomp *const decomp, const rohc_decomp_features_t features)
Enable/disable features for ROHC decompressor.
Definition: rohc_decomp.c:3229
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:149
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:279
rohc_status_t
The status code of several functions in the library API.
Definition: rohc.h:77
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.
Definition: rohc_decomp.c:3182
int profile_id
Definition: rohc_decomp.h:134
Some information about one decompression context.
Definition: rohc_decomp.h:200
rohc_cid_type_t
The different types of Context IDs (CID)
Definition: rohc.h:174
bool ROHC_EXPORT rohc_decomp_disable_profiles(struct rohc_decomp *const decomp,...)
Disable several decompression profiles for a decompressor.
Definition: rohc_decomp.c:3543
Definition: rohc_decomp.h:302
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.
Definition: rohc_decomp.c:3599
Some general information about the decompressor.
Definition: rohc_decomp.h:256
Definition: rohc_decomp.h:300
unsigned short version_minor
Definition: rohc_decomp.h:261
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.
Definition: rohc_decomp.c:2646
unsigned long uncomp_bytes_nr
Definition: rohc_decomp.h:211
unsigned long nr_lost_packets
Definition: rohc_decomp.h:136
void(* rohc_trace_callback2_t)(void *const priv_ctxt, const rohc_trace_level_t level, const rohc_trace_entity_t entity, const int profile, const char *const format,...)
The function prototype for the trace callback.
Definition: rohc_traces.h:118
size_t prtt
Definition: rohc_decomp_internals.h:167
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.
Definition: rohc_decomp.c:2446
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.
Definition: rohc_decomp.c:2748
unsigned short version_minor
Definition: rohc_decomp.h:128
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:215
size_t mrru
Definition: rohc_decomp_internals.h:187
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:273
bool ROHC_EXPORT rohc_decomp_get_mrru(const struct rohc_decomp *const decomp, size_t *const mrru)
Get the Maximum Reconstructed Reception Unit (MRRU).
Definition: rohc_decomp.c:2876
Definition: rohc_decomp.h:79
Definition: rohc_decomp.h:298
unsigned long header_last_comp_size
Definition: rohc_decomp.h:157
Definition: rohc_decomp.h:83
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.
Definition: rohc_decomp.c:3082
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).
Definition: rohc_decomp.c:2935
unsigned long uncomp_bytes_nr
Definition: rohc_decomp.h:269
size_t contexts_nr
Definition: rohc_decomp.h:263
rohc_mode_t context_mode
Definition: rohc_decomp.h:130
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.
Definition: rohc_decomp.c:685
unsigned long packets_nr
Definition: rohc_decomp.h:265
A network buffer for the ROHC library.
Definition: rohc_buf.h:102
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:213
unsigned long header_last_uncomp_size
Definition: rohc_decomp.h:161
rohc_packet_t packet_type
Definition: rohc_decomp.h:151
rohc_decomp_state_t
The ROHC decompressor states.
Definition: rohc_decomp.h:74
rohc_decomp_features_t
The different features of the ROHC decompressor.
Definition: rohc_decomp.h:295
Some information about the last decompressed packet.
Definition: rohc_decomp.h:123
unsigned short version_major
Definition: rohc_decomp.h:259
unsigned long comp_bytes_nr
Definition: rohc_decomp.h:267
Definition: rohc_decomp.h:304
unsigned long total_last_uncomp_size
Definition: rohc_decomp.h:159
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.
Definition: rohc_decomp.c:442
rohc_decomp_features_t features
Definition: rohc_decomp_internals.h:148
Definition: rohc_decomp.h:81
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?
Definition: rohc_decomp.c:3281
unsigned short version_major
Definition: rohc_decomp.h:203
rohc_decomp_state_t context_state
Definition: rohc_decomp.h:132
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.
Definition: rohc_decomp.c:2551
unsigned short version_major
Definition: rohc_decomp.h:126
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:146
void ROHC_EXPORT rohc_decomp_free(struct rohc_decomp *const decomp)
Destroy the given ROHC decompressor.
Definition: rohc_decomp.c:585
rohc_profile_t
The different ROHC compression/decompression profiles.
Definition: rohc.h:210
bool ROHC_EXPORT rohc_decomp_enable_profile(struct rohc_decomp *const decomp, const rohc_profile_t profile)
Enable a decompression profile for a decompressor.
Definition: rohc_decomp.c:3349
unsigned long nr_misordered_packets
Definition: rohc_decomp.h:138
rohc_packet_t
The different types of ROHC packets.
Definition: rohc_packets.h:55
unsigned short version_minor
Definition: rohc_decomp.h:205
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.
Definition: rohc_decomp.c:2719
bool ROHC_EXPORT rohc_decomp_set_mrru(struct rohc_decomp *const decomp, const size_t mrru)
Set the Maximum Reconstructed Reception Unit (MRRU).
Definition: rohc_decomp.c:2814
unsigned long packets_nr
Definition: rohc_decomp.h:207
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).
Definition: rohc_decomp.c:3003
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:144
Definition: rohc_decomp.h:77
bool is_duplicated
Definition: rohc_decomp.h:140