ROHC compression/decompression library
Data Fields
d_profile Struct Reference

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)

Detailed Description

The ROHC decompression profile.

The object defines a ROHC profile. Each field must be filled in for each new profile.


Field Documentation

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

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

The handler used to get the size of the specific static part of IR packets.

Referenced by d_generic_detect_ir_size().


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