list_decomp Struct Reference

The context for list decompression. More...

#include <decomp_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 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

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, 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

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] [read]

All the possible named lists, indexed by gen_id

The temporary packet list (not persistent across packets)

The profile ID the decompression list was created for

The callback function used to manage traces

The private context of the callback function used to manage traces

struct rohc_list_item list_decomp::trans_table[ROHC_LIST_MAX_ITEM] [read]

The translation table


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

Generated on 4 Jul 2018 for ROHC compression/decompression library by  doxygen 1.6.1