ROHC compression/decompression library
Data Fields
list_decomp Struct Reference

The list decompressor. More...

#include <d_generic.h>

Collaboration diagram for list_decomp:
Collaboration graph
[legend]

Data Fields

struct c_listref_list
 The reference list.
struct c_listlist_table [LIST_COMP_WINDOW]
 The table of lists.
struct rohc_list_item based_table [MAX_ITEM]
 The compression based table.
struct d_translation trans_table [MAX_ITEM]
 The translation table.
int counter_list
 counter in list table
int counter
 counter which indicates if the list is reference list
bool is_present
 boolean which indicates if there is a list to decompress
int ref_ok
 boolean which indicates if the ref list must be decompressed
void(* free_table )(struct list_decomp *decomp)
 The handler used to free the based table.
int(* encode_extension )(struct list_decomp *const decomp, const uint8_t ip_nh_type, unsigned char *dest)
 The handler used to add the extension to IP packet.
int(* check_index )(struct list_decomp *decomp, int index)
bool(* create_item )(const unsigned char *data, int length, int index, struct list_decomp *decomp)
int(* get_ext_size )(const unsigned char *data, const size_t data_len)
 The handler used to get the size of an extension.
rohc_trace_callback_t trace_callback
int profile_id

Detailed Description

The list decompressor.


Field Documentation

The compression based table.

int(* list_decomp::check_index)(struct list_decomp *decomp, int index)

The handler used to check if the index corresponds to an existing item

Referenced by d_generic_create().

counter which indicates if the list is reference list

counter in list table

bool(* list_decomp::create_item)(const unsigned char *data, int length, int index, struct list_decomp *decomp)

The handler used to create the item at the corresponding index of the based table

Referenced by d_generic_create().

int(* list_decomp::encode_extension)(struct list_decomp *const decomp, const uint8_t ip_nh_type, unsigned char *dest)

The handler used to add the extension to IP packet.

Referenced by d_generic_create().

void(* list_decomp::free_table)(struct list_decomp *decomp)

The handler used to free the based table.

Referenced by d_generic_create(), and d_generic_destroy().

int(* list_decomp::get_ext_size)(const unsigned char *data, const size_t data_len)

The handler used to get the size of an extension.

Referenced by d_generic_create().

boolean which indicates if there is a list to decompress

The table of lists.

Referenced by d_generic_destroy().

The profile ID the decompression list was created for

Referenced by d_generic_create().

The reference list.

boolean which indicates if the ref list must be decompressed

The callback function used to manage traces

Referenced by d_generic_create().

The translation table.


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