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

Internal structures for ROHC compression. More...

#include "rohc_internal.h"
#include "rohc_traces_internal.h"
#include "rohc_packets.h"
#include "rohc_comp.h"
#include "schemes/wlsb.h"
#include "net_pkt.h"
#include "rohc_stats.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  rohc_comp_profile
 The ROHC compression profile. More...
struct  rohc_comp_ctxt
 The ROHC compression context. More...
struct  c_feedback
 The feedback packet. More...

Defines

#define C_NUM_PROFILES   7U
#define FEEDBACK_RING_SIZE   1000U
#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_LIST_DEFAULT_L   5U
 Default number of transmission for lists to become a reference list.
#define rohc_comp_warn(context, format,...)
#define rohc_comp_debug(context, format,...)
#define ROHC_MAX_MRRU   65535
#define MAX_RTP_PORTS   15U

Detailed Description

Internal structures for ROHC compression.

Author:
Didier Barvaux <didier.barvaux@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>

Define Documentation

#define C_NUM_PROFILES   7U

The number of ROHC profiles ready to be used

#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)

#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)

#define FEEDBACK_RING_SIZE   1000U

The maximal number of outgoing feedbacks that can be queued

#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

#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

#define MAX_RTP_PORTS   15U

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

#define rohc_comp_debug (   context,
  format,
  ... 
)
Value:
rohc_debug((context)->compressor, ROHC_TRACE_COMP, \
                   (context)->profile->id, \
                   format, ##__VA_ARGS__)

Print a debug trace for the given compression context

#define rohc_comp_warn (   context,
  format,
  ... 
)
Value:
rohc_warning((context)->compressor, ROHC_TRACE_COMP, \
                     (context)->profile->id, \
                     format, ##__VA_ARGS__)

Print a warning trace for the given compression context

#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_LIST_DEFAULT_L   5U

Default number of transmission for lists to become a reference list.

The minimal number of times of compressed list shall be sent to become a reference list. L is the name specified in the RFC.

#define ROHC_MAX_MRRU   65535

The maximal value for MRRU