ROHC compression/decompression library
|
The ROHC decompression profile. More...
#include <rohc_decomp.h>
Data Fields | |
int | id |
The profile ID as reserved by IANA. | |
char * | description |
A string that describes the profile. | |
int(* | decode )(struct rohc_decomp *decomp, struct d_context *context, const unsigned char *const rohc_packet, const unsigned int rohc_length, int second_byte, unsigned char *dest) |
The handler used to decode IR-DYN and UO* packets. | |
int(* | decode_ir )(struct rohc_decomp *decomp, struct d_context *context, const unsigned char *const rohc_packet, const unsigned int rohc_length, int large_cid_len, int is_addcid_used, unsigned char *dest) |
The handler used to decode the IR packets. | |
void *(* | allocate_decode_data )(void) |
The handler used to create the profile-specific part of the decompression context. | |
void(* | free_decode_data )(void *) |
The handler used to destroy the profile-specific part of the decompression context. | |
unsigned int(* | detect_ir_size )(struct d_context *context, unsigned char *packet, unsigned int plen, unsigned int large_cid_len) |
The handler used to find out the size of IR packets. | |
unsigned int(* | detect_ir_dyn_size )(struct d_context *context, unsigned char *packet, unsigned int plen, unsigned int large_cid_len) |
The handler used to find out the size of IR-DYN packets. | |
int(* | get_static_part )(void) |
The handler used to get the size of the specific static part of IR packets. | |
int(* | get_sn )(struct d_context *context) |
The handler used to retrieve the Sequence Number (SN) |
The ROHC decompression profile.
The object defines a ROHC profile. Each field must be filled in for each new profile.
void*(* d_profile::allocate_decode_data)(void) |
The handler used to create the profile-specific part of the decompression context.
Referenced by context_create().
int(* d_profile::decode)(struct rohc_decomp *decomp, struct d_context *context, const unsigned char *const rohc_packet, const unsigned int rohc_length, int second_byte, unsigned char *dest) |
The handler used to decode IR-DYN and UO* packets.
Referenced by d_decode_header().
int(* d_profile::decode_ir)(struct rohc_decomp *decomp, struct d_context *context, const unsigned char *const rohc_packet, const unsigned int rohc_length, int large_cid_len, int is_addcid_used, unsigned char *dest) |
The handler used to decode the IR packets.
Referenced by d_decode_header().
char* d_profile::description |
A string that describes the profile.
Referenced by rohc_d_context(), and rohc_d_statistics().
unsigned int(* d_profile::detect_ir_dyn_size)(struct d_context *context, unsigned char *packet, unsigned int plen, unsigned int large_cid_len) |
The handler used to find out the size of IR-DYN packets.
unsigned int(* d_profile::detect_ir_size)(struct d_context *context, unsigned char *packet, unsigned int plen, unsigned int large_cid_len) |
The handler used to find out the size of IR packets.
void(* d_profile::free_decode_data)(void *) |
The handler used to destroy the profile-specific part of the decompression context.
Referenced by context_create(), and context_free().
int(* d_profile::get_sn)(struct d_context *context) |
The handler used to retrieve the Sequence Number (SN)
Referenced by d_change_mode_feedback(), and d_optimistic_feedback().
int(* d_profile::get_static_part)(void) |
The handler used to get the size of the specific static part of IR packets.
Referenced by d_generic_detect_ir_size().
int d_profile::id |
The profile ID as reserved by IANA.
Referenced by decode_inner_header_flags(), decode_uo0(), decode_uo1(), decode_uor2(), find_packet_type(), and rohc_d_statistics().