ROHC compression/decompression library
Data Structures | Defines | Typedefs
rohc_comp_internals.h File Reference

Internal structures for ROHC compression. More...

#include "rohc.h"
#include "rohc_packets.h"
#include "rohc_comp.h"
#include "wlsb.h"
#include "ip.h"
#include <stdbool.h>
Include dependency graph for rohc_comp_internals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rohc_feedback
 Information on ROHC feedback data. More...
struct  rohc_comp
 The ROHC compressor. More...
struct  c_profile
 The ROHC compression profile. More...
struct  c_context
 The ROHC compression context. More...
struct  c_feedback
 The feedback packet. More...

Defines

#define C_NUM_PROFILES   6
#define FEEDBACK_RING_SIZE   1000
#define CHANGE_TO_IR_COUNT   1700
#define CHANGE_TO_FO_COUNT   700
#define MAX_IR_COUNT   3
#define MAX_FO_COUNT   3
#define ROHC_INIT_TS_STRIDE_MIN   3U
#define rohc_comp_debug(context, format,...)
#define ROHC_MAX_MRRU   65535
#define MAX_RTP_PORTS   15

Typedefs

typedef uint32_t rohc_ctxt_key_t

Detailed Description

Internal structures for ROHC compression.

Author:
Didier Barvaux <didier.barvaux@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>
The hackers from ROHC for Linux

Define Documentation

#define C_NUM_PROFILES   6

The number of ROHC profiles ready to be used

Referenced by rohc_activate_profile(), rohc_alloc_compressor(), rohc_c_info(), and rohc_c_statistics().

#define CHANGE_TO_FO_COUNT   700

The default maximal number of packets sent in > FO states (= SO state) before changing back the state to FO (periodic refreshes)

Referenced by rohc_alloc_compressor().

#define CHANGE_TO_IR_COUNT   1700

The default maximal number of packets sent in > IR states (= FO and SO states) before changing back the state to IR (periodic refreshes)

Referenced by rohc_alloc_compressor().

#define FEEDBACK_RING_SIZE   1000

The maximal number of outgoing feedbacks that can be queued

Referenced by rohc_alloc_compressor(), rohc_comp_piggyback_feedback(), rohc_feedback_remove_locked(), and rohc_feedback_unlock().

#define MAX_FO_COUNT   3

The minimal number of packets that must be sent while in FO state before being able to switch to the SO state

Referenced by c_init_header_info(), c_ip_decide_FO_packet(), c_ip_decide_SO_packet(), changed_dynamic_one_hdr(), changed_static_one_hdr(), code_EXT3_packet(), code_UOR2_ID_bytes(), decide_state(), header_fields(), and header_flags().

#define MAX_IR_COUNT   3

The minimal number of packets that must be sent while in IR state before being able to switch to the FO state

Referenced by code_EXT3_packet(), decide_state(), and rtp_header_flags_and_fields().

#define MAX_RTP_PORTS   15

The maximal number of RTP ports (shall be > 2)

Referenced by rohc_alloc_compressor(), rohc_comp_add_rtp_port(), rohc_comp_remove_rtp_port(), and rohc_comp_reset_rtp_ports().

#define rohc_comp_debug (   context,
  format,
  ... 
)
#define ROHC_INIT_TS_STRIDE_MIN   3U

The minimal number of packets that must be sent while in INIT_STRIDE state before being able to switch to the SEND_SCALED state

#define ROHC_MAX_MRRU   65535

The maximal value for MRRU

Referenced by rohc_comp_set_mrru(), and rohc_decomp_set_mrru().


Typedef Documentation

typedef uint32_t rohc_ctxt_key_t

The key to help identify (not quaranted unique) a compression context