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, const size_t add_cid_len, const size_t large_cid_len, unsigned char *dest)
 The handler used to decode one IR, IR-DYN and UO* 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.
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, const size_t add_cid_len, const size_t large_cid_len, unsigned char *dest)

The handler used to decode one IR, IR-DYN and UO* packets.

Referenced by d_decode_header().

A string that describes the profile.

Referenced by rohc_d_context(), and rohc_d_statistics().

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 profile ID as reserved by IANA.

Referenced by rohc_d_statistics().


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