ROHC compression/decompression library
Data Fields
rohc_decomp_profile Struct Reference

The ROHC decompression profile. More...

#include <rohc_decomp_internals.h>

Data Fields

const rohc_profile_t id
void *(* new_context )(const struct rohc_decomp_ctxt *const context)
void(* free_context )(void *const context)
rohc_status_t(* decode )(struct rohc_decomp *const decomp, struct rohc_decomp_ctxt *const context, const struct rohc_buf rohc_packet, const size_t add_cid_len, const size_t large_cid_len, struct rohc_buf *const uncomp_packet, rohc_packet_t *const packet_type)
rohc_packet_t(* detect_pkt_type )(const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, const size_t large_cid_len)
uint32_t(* get_sn )(const struct rohc_decomp_ctxt *const context)

Detailed Description

The ROHC decompression profile.

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


Field Documentation

rohc_status_t(* rohc_decomp_profile::decode)(struct rohc_decomp *const decomp, struct rohc_decomp_ctxt *const context, const struct rohc_buf rohc_packet, const size_t add_cid_len, const size_t large_cid_len, struct rohc_buf *const uncomp_packet, rohc_packet_t *const packet_type)
rohc_packet_t(* rohc_decomp_profile::detect_pkt_type)(const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, const size_t large_cid_len)

The handler used to detect the type of the ROHC packet

void(* rohc_decomp_profile::free_context)(void *const context)
uint32_t(* rohc_decomp_profile::get_sn)(const struct rohc_decomp_ctxt *const context)
void*(* rohc_decomp_profile::new_context)(const struct rohc_decomp_ctxt *const context)

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