ROHC compression/decompression library
Data Fields
list_decomp Struct Reference

The context for list decompression. More...

#include <list.h>

Collaboration diagram for list_decomp:
Collaboration graph
[legend]

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

Detailed Description

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.


Field Documentation

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

All the possible named lists, indexed by gen_id

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


The documentation for this struct was generated from the following file: