ROHC compression/decompression library
Public Attributes
list_decomp Struct Reference

The list decompressor. More...

#include <d_generic.h>

Collaboration diagram for list_decomp:
Collaboration graph
[legend]

List of all members.

Public Attributes

struct c_listref_list
 The reference list.
struct c_listlist_table [LIST_COMP_WINDOW]
 The table of lists.
struct c_listtemp_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.

Detailed Description

The list decompressor.


Member Data Documentation

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().

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().

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().

The temp list.

Referenced by d_generic_destroy(), and decode_type_3().


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