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 | |
int | list_decomp |
boolean which indicates if there is a list to decompress | |
int | ref_ok |
boolean which indicates if the ref list must be decompressed | |
int | size_ext |
Size of the last list extension received. | |
void(* | free_table )(struct list_decomp *decomp) |
The handler used to free the based table. | |
int(* | encode_extension )(struct d_generic_changes *active, struct list_decomp *decomp, 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.
Referenced by ip6_d_init_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
Referenced by build_uncompressed_ip6(), and d_decode_dynamic_ip6().
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 d_generic_changes *active, struct list_decomp *decomp, unsigned char *dest) |
The handler used to add the extension to IP packet.
Referenced by build_uncompressed_ip6(), and 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
Referenced by build_uncompressed_ip6(), and d_decode_dynamic_ip6().
The table of lists.
Referenced by build_uncompressed_ip6(), d_decode_dynamic_ip6(), and d_generic_destroy().
struct c_list* list_decomp::ref_list |
The reference list.
Referenced by build_uncompressed_ip6(), and d_decode_dynamic_ip6().
boolean which indicates if the ref list must be decompressed
Referenced by build_uncompressed_ip6(), d_decode_dynamic_ip6(), decode_uo0(), decode_uo1(), and decode_uor2().
Size of the last list extension received.
Referenced by d_decode_dynamic_ip6(), d_generic_detect_ir_dyn_size(), and d_generic_detect_ir_size().
The translation table.
Referenced by ip6_d_init_table().