ROHC compression/decompression library
|
The list decompressor. More...
#include <d_generic.h>
Data Fields | |
struct c_list * | ref_list |
The reference list. | |
struct c_list * | list_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. |
The list decompressor.
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().
struct c_list* list_decomp::ref_list |
The reference list.
boolean which indicates if the ref list must be decompressed
The translation table.