ROHC compression/decompression library
Public Attributes
rohc_comp Struct Reference

The ROHC compressor. More...

#include <rohc_comp.h>

Collaboration diagram for rohc_comp:
Collaboration graph
[legend]

List of all members.

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_contextcontexts
 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_contextlast_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.

Detailed Description

The ROHC compressor.


Member Data Documentation

Size of the adaptation packets.

Referenced by decide_algo(), and rohc_alloc_compressor().

The connection type (currently not used)

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().

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().

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().

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().

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().


The documentation for this struct was generated from the following file: