36 #include <rohc/rohc.h> 37 #include <rohc/rohc_profiles.h> 38 #include <rohc/rohc_packets.h> 39 #include <rohc/rohc_traces.h> 40 #include <rohc/rohc_buf.h> 45 # define ROHC_EXPORT __declspec(dllexport) 318 __attribute__((warn_unused_result));
324 struct rohc_buf *
const uncomp_packet,
325 struct rohc_buf *
const rcvd_feedback,
326 struct rohc_buf *
const feedback_send)
327 __attribute__((warn_unused_result));
336 __attribute__((warn_unused_result,
const));
340 __attribute__((warn_unused_result));
345 __attribute__((warn_unused_result));
349 __attribute__((warn_unused_result));
360 __attribute__((warn_unused_result));
363 size_t *
const max_cid)
364 __attribute__((warn_unused_result));
370 __attribute__((warn_unused_result));
374 __attribute__((warn_unused_result));
380 __attribute__((warn_unused_result));
384 __attribute__((warn_unused_result));
389 const size_t k,
const size_t n,
390 const size_t k_1,
const size_t n_1,
391 const size_t k_2,
const size_t n_2)
392 __attribute__((warn_unused_result));
395 size_t *
const k,
size_t *
const n,
396 size_t *
const k_1,
size_t *
const n_1,
397 size_t *
const k_2,
size_t *
const n_2)
398 __attribute__((warn_unused_result));
404 __attribute__((warn_unused_result));
413 __attribute__((warn_unused_result));
417 __attribute__((warn_unused_result));
421 __attribute__((warn_unused_result));
425 __attribute__((warn_unused_result));
429 __attribute__((warn_unused_result));
438 void *const priv_ctxt)
439 __attribute__((warn_unused_result));
unsigned long comp_bytes_nr
Definition: rohc_decomp.h:210
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:277
bool ROHC_EXPORT rohc_decomp_enable_profiles(struct rohc_decomp *const decomp,...)
Enable several decompression profiles for a decompressor.
Definition: rohc_decomp.c:3617
#define ROHC_EXPORT
Definition: rohc_decomp.h:47
The ROHC decompressor.
Definition: rohc_decomp_internals.h:142
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:219
size_t rohc_cid_t
Definition: rohc.h:195
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:2476
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:3551
rohc_mode_t
ROHC operation modes.
Definition: rohc.h:111
unsigned long total_last_comp_size
Definition: rohc_decomp.h:156
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:3328
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:150
unsigned long corrected_wrong_sn_updates
Definition: rohc_decomp.h:280
rohc_status_t
The status code of several functions in the library API.
Definition: rohc.h:79
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:3281
int profile_id
Definition: rohc_decomp.h:135
Some information about one decompression context.
Definition: rohc_decomp.h:201
rohc_cid_type_t
The different types of Context IDs (CID)
Definition: rohc.h:176
bool ROHC_EXPORT rohc_decomp_disable_profiles(struct rohc_decomp *const decomp,...)
Disable several decompression profiles for a decompressor.
Definition: rohc_decomp.c:3675
Definition: rohc_decomp.h:303
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:3731
Some general information about the decompressor.
Definition: rohc_decomp.h:257
Definition: rohc_decomp.h:301
unsigned short version_minor
Definition: rohc_decomp.h:262
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:2716
unsigned long uncomp_bytes_nr
Definition: rohc_decomp.h:212
unsigned long nr_lost_packets
Definition: rohc_decomp.h:137
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:2517
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:2818
unsigned short version_minor
Definition: rohc_decomp.h:129
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:216
size_t mrru
Definition: rohc_decomp_internals.h:187
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:274
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:2975
Definition: rohc_decomp.h:80
Definition: rohc_decomp.h:299
unsigned long header_last_comp_size
Definition: rohc_decomp.h:158
Definition: rohc_decomp.h:84
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:3181
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:3034
unsigned long uncomp_bytes_nr
Definition: rohc_decomp.h:270
size_t contexts_nr
Definition: rohc_decomp.h:264
rohc_mode_t context_mode
Definition: rohc_decomp.h:131
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:713
unsigned long packets_nr
Definition: rohc_decomp.h:266
A network buffer for the ROHC library.
Definition: rohc_buf.h:102
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:214
unsigned long header_last_uncomp_size
Definition: rohc_decomp.h:162
rohc_packet_t packet_type
Definition: rohc_decomp.h:152
rohc_decomp_state_t
The ROHC decompressor states.
Definition: rohc_decomp.h:75
rohc_decomp_features_t
The different features of the ROHC decompressor.
Definition: rohc_decomp.h:296
Some information about the last decompressed packet.
Definition: rohc_decomp.h:124
unsigned short version_major
Definition: rohc_decomp.h:260
unsigned long comp_bytes_nr
Definition: rohc_decomp.h:268
Definition: rohc_decomp.h:305
unsigned long total_last_uncomp_size
Definition: rohc_decomp.h:160
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:470
rohc_decomp_features_t features
Definition: rohc_decomp_internals.h:148
Definition: rohc_decomp.h:82
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:3413
unsigned short version_major
Definition: rohc_decomp.h:204
rohc_decomp_state_t context_state
Definition: rohc_decomp.h:133
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:2621
unsigned short version_major
Definition: rohc_decomp.h:127
unsigned long corrected_sn_wraparounds
Definition: rohc_decomp.h:147
void ROHC_EXPORT rohc_decomp_free(struct rohc_decomp *const decomp)
Destroy the given ROHC decompressor.
Definition: rohc_decomp.c:613
rohc_profile_t
The different ROHC compression/decompression profiles.
Definition: rohc_profiles.h:70
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:3476
unsigned long nr_misordered_packets
Definition: rohc_decomp.h:139
rohc_packet_t
The different types of ROHC packets.
Definition: rohc_packets.h:55
unsigned short version_minor
Definition: rohc_decomp.h:206
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:2789
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:2887
unsigned long packets_nr
Definition: rohc_decomp.h:208
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:3102
unsigned long corrected_crc_failures
Definition: rohc_decomp.h:145
Definition: rohc_decomp.h:78
bool is_duplicated
Definition: rohc_decomp.h:141