ROHC compression/decompression library
|
The list decompressor. More...
#include <d_generic.h>
Public Attributes | |
struct c_list * | ref_list |
The reference list. | |
struct c_list * | list_table [LIST_COMP_WINDOW] |
The table of lists. | |
struct c_list * | temp_list |
The temp list. | |
struct 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 decompress | |
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) |
void(* | create_item )(const unsigned char *data, int length, int index, struct list_decomp *decomp) |
int(* | get_ext_size )(const unsigned char *ext) |
The handler used to get the size of an extension. |
The list decompressor.
struct item list_decomp::based_table[MAX_ITEM] |
The compression based table.
Referenced by create_ip6_item(), decode_type_0(), decode_type_1(), decode_type_3(), and 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(), decode_type_1(), and decode_type_3().
counter which indicates if the list is reference list
Referenced by decode_type_0(), decode_type_1(), decode_type_2(), and decode_type_3().
counter in list table
Referenced by build_uncompressed_ip6(), d_decode_dynamic_ip6(), decode_type_0(), decode_type_1(), decode_type_2(), decode_type_3(), and encode_ip6_extension().
void(* 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(), decode_type_0(), decode_type_1(), and decode_type_3().
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 *ext) |
The handler used to get the size of an extension.
Referenced by d_generic_create(), decode_type_0(), decode_type_1(), and decode_type_3().
boolean which indicates if there is a list to decompress
Referenced by build_uncompressed_ip6(), d_algo_list_decompress(), and d_decode_dynamic_ip6().
The table of lists.
Referenced by build_uncompressed_ip6(), check_id(), d_decode_dynamic_ip6(), d_generic_destroy(), decode_type_0(), decode_type_1(), decode_type_2(), decode_type_3(), and encode_ip6_extension().
struct c_list* list_decomp::ref_list |
The reference list.
Referenced by d_decode_dynamic_ip6(), decode_type_0(), decode_type_1(), decode_type_2(), decode_type_3(), and encode_ip6_extension().
boolean which indicates if the ref list must be decompress
Referenced by d_decode_dynamic_ip6(), decode_type_0(), decode_type_1(), decode_type_2(), decode_type_3(), decode_uo0(), decode_uo1(), decode_uor2(), and encode_ip6_extension().
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().
struct c_list* list_decomp::temp_list |
The temp list.
Referenced by d_generic_destroy(), and decode_type_3().
The translation table.
Referenced by create_ip6_item(), decode_type_0(), decode_type_1(), decode_type_3(), and ip6_d_init_table().