ROHC compression/decompression library
|
The ROHC compressor. More...
#include <rohc_comp.h>
Public Attributes | |
int | enabled |
Whether the compressor is enabled or not (enabled by default, can be disabled by user) | |
struct medium | medium |
The medium associated with the decompressor. | |
struct c_context * | contexts |
The array of compression contexts that use the compressor. | |
int | num_contexts |
The number of compression contexts stored in the array. | |
int | num_contexts_used |
The number of compression contexts in use in the array. | |
int | profiles [C_NUM_PROFILES] |
Which profiles are enabled and with one are not? 1 means enabled, 0 disabled. | |
struct rohc_feedback | feedbacks [FEEDBACK_BUFFER_SIZE] |
size_t | feedbacks_first |
size_t | feedbacks_first_unlocked |
size_t | feedbacks_next |
The index of the next empty location in the feedback ring. | |
int | num_packets |
The number of sent packets. | |
int | total_uncompressed_size |
The size of all the received uncompressed IP packets. | |
int | total_compressed_size |
The size of all the sent compressed ROHC packets. | |
struct c_context * | last_context |
The last context used by the compressor. | |
int | mrru |
Maximum Reconstructed Reception Unit (currently not used) | |
int | max_header_size |
Maximum header size that will be compressed (currently not used) | |
int | connection_type |
The connection type (currently not used) | |
int | jam_use |
Use of jamming (it is an option activated by the user) | |
int | adapt_size |
Size of the adaptation packets. | |
int | encap_size |
Size of the encapsulation packets. |
The ROHC compressor.
Size of the adaptation packets.
Referenced by decide_algo(), and rohc_alloc_compressor().
The connection type (currently not used)
struct c_context* rohc_comp::contexts |
The array of compression contexts that use the compressor.
Referenced by c_alloc_contexts(), c_create_context(), c_create_contexts(), c_destroy_contexts(), c_find_context(), c_get_context(), and rohc_c_context().
Whether the compressor is enabled or not (enabled by default, can be disabled by user)
Referenced by rohc_alloc_compressor(), rohc_c_is_enabled(), rohc_c_set_enable(), and rohc_c_statistics().
Size of the encapsulation packets.
Referenced by decide_algo(), and rohc_alloc_compressor().
The ring of outgoing feedbacks
Referenced by c_piggyback_feedback(), and rohc_alloc_compressor().
size_t rohc_comp::feedbacks_first |
The index of the oldest feedback in the feedback ring
Referenced by c_piggyback_feedback(), and rohc_alloc_compressor().
The index of the oldest unlocked feedback in the feedback ring
Referenced by rohc_alloc_compressor().
size_t rohc_comp::feedbacks_next |
The index of the next empty location in the feedback ring.
Referenced by c_piggyback_feedback(), and rohc_alloc_compressor().
Use of jamming (it is an option activated by the user)
Referenced by decide_packet(), and rohc_alloc_compressor().
struct c_context* rohc_comp::last_context |
The last context used by the compressor.
Referenced by rohc_alloc_compressor(), and rohc_compress().
Maximum header size that will be compressed (currently not used)
Referenced by rohc_c_set_header().
struct medium rohc_comp::medium |
The medium associated with the decompressor.
Referenced by c_alloc_contexts(), c_assessment_size(), c_deliver_feedback(), code_cid_values(), rohc_alloc_compressor(), rohc_c_set_large_cid(), rohc_c_set_max_cid(), rohc_c_statistics(), and rohc_c_using_small_cid().
int rohc_comp::mrru |
Maximum Reconstructed Reception Unit (currently not used)
Referenced by rohc_alloc_compressor(), rohc_c_set_mrru(), and rohc_c_statistics().
The number of compression contexts stored in the array.
Referenced by c_alloc_contexts(), c_create_context(), c_create_contexts(), c_destroy_contexts(), c_find_context(), c_get_context(), and rohc_c_context().
The number of compression contexts in use in the array.
Referenced by c_create_context(), c_create_contexts(), c_destroy_contexts(), rohc_c_statistics(), and rohc_compress().
The number of sent packets.
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), and rohc_compress().
Which profiles are enabled and with one are not? 1 means enabled, 0 disabled.
Referenced by c_get_profile_from_id(), c_get_profile_from_packet(), rohc_activate_profile(), rohc_alloc_compressor(), and rohc_c_statistics().
The size of all the sent compressed ROHC packets.
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), and rohc_compress().
The size of all the received uncompressed IP packets.
Referenced by rohc_alloc_compressor(), rohc_c_statistics(), and rohc_compress().