ROHC compression/decompression library
Functions
d_tcp_dynamic.h File Reference

Handle the dynamic chain of the TCP decompression profile. More...

#include "rohc_decomp_internals.h"
#include "d_tcp_defines.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for d_tcp_dynamic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool tcp_parse_dyn_chain (const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_packet, const size_t rohc_length, struct rohc_tcp_extr_bits *const bits, size_t *const parsed_len)
 Parse the dynamic chain of the IR/IR-DYN packet. More...
 

Detailed Description

Handle the dynamic chain of the TCP decompression profile.

Author
FWX rohc_.nosp@m.team.nosp@m.@dial.nosp@m.ine..nosp@m.fr
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org
Didier Barvaux didie.nosp@m.r.ba.nosp@m.rvaux.nosp@m.@tou.nosp@m.louse.nosp@m..viv.nosp@m.eris..nosp@m.com

Function Documentation

◆ tcp_parse_dyn_chain()

bool tcp_parse_dyn_chain ( const struct rohc_decomp_ctxt *const  context,
const uint8_t *const  rohc_packet,
const size_t  rohc_length,
struct rohc_tcp_extr_bits *const  bits,
size_t *const  parsed_len 
)

Parse the dynamic chain of the IR/IR-DYN packet.

Parameters
contextThe decompression context
rohc_packetThe remaining part of the ROHC packet
rohc_lengthThe remaining length (in bytes) of the ROHC packet
[out]parsed_lenThe length (in bytes) of static chain in case of success
[out]bitsThe bits extracted from the dynamic chain
Returns
true in the dynamic chain was successfully parsed, false if the ROHC packet was malformed