ROHC compression/decompression library
|
The context for list decompression. More...
#include <list.h>
Data Fields | |
struct rohc_list_item | trans_table [ROHC_LIST_MAX_ITEM] |
struct rohc_list | lists [ROHC_LIST_GEN_ID_MAX+1] |
struct rohc_list | pkt_list |
bool(* | check_item )(const struct list_decomp *const decomp, const size_t index_table) |
int(* | get_item_size )(const unsigned char *data, const size_t data_len) |
rohc_list_item_cmp | cmp_item |
bool(* | create_item )(const unsigned char *const data, const size_t length, const size_t index_table, struct list_decomp *const decomp) |
size_t(* | build_uncomp_item )(const struct list_decomp *const decomp, const uint8_t ip_nh_type, unsigned char *const dest) |
rohc_trace_callback_t | trace_callback |
rohc_trace_callback2_t | trace_callback2 |
void * | trace_callback_priv |
int | profile_id |
The context for list decompression.
The context contains a translation table that associates IDs and list items together. The different lists (gen_id ones, reference one, anonymous one) references the items from the translation table.
size_t(* list_decomp::build_uncomp_item)(const struct list_decomp *const decomp, const uint8_t ip_nh_type, unsigned char *const dest) |
The handler used to add the extension to IP packet
bool(* list_decomp::check_item)(const struct list_decomp *const decomp, const size_t index_table) |
The handler used to check if the index corresponds to a valid item
The handler used to compare two items
bool(* list_decomp::create_item)(const unsigned char *const data, const size_t length, const size_t index_table, struct list_decomp *const decomp) |
The handler used to create a list item
int(* list_decomp::get_item_size)(const unsigned char *data, const size_t data_len) |
The handler used to get the size of a list item
struct rohc_list list_decomp::lists[ROHC_LIST_GEN_ID_MAX+1] |
All the possible named lists, indexed by gen_id
struct rohc_list list_decomp::pkt_list |
The temporary packet list (not persistent accross packets)
The profile ID the decompression list was created for
The old callback function used to manage traces
The new callback function used to manage traces
The private context of the callback function used to manage traces
The translation table