ROHC compression/decompression library
|
The context for list decompression. More...
#include <decomp_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 uint8_t *data, const size_t data_len) |
rohc_list_item_cmp | cmp_item |
bool(* | create_item )(const uint8_t *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, uint8_t *const dest) |
rohc_trace_callback2_t | trace_callback |
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, uint8_t *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
rohc_list_item_cmp list_decomp::cmp_item |
The handler used to compare two items
bool(* list_decomp::create_item) (const uint8_t *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 uint8_t *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 across packets)
int list_decomp::profile_id |
The profile ID the decompression list was created for
rohc_trace_callback2_t list_decomp::trace_callback |
The callback function used to manage traces
void* list_decomp::trace_callback_priv |
The private context of the callback function used to manage traces
struct rohc_list_item list_decomp::trans_table[ROHC_LIST_MAX_ITEM] |
The translation table