ROHC compression/decompression library
Functions
d_tcp_replicate.h File Reference

Handle the replicate 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_replicate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool tcp_parse_replicate_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 replicate chain of the IR-CR packet. More...
 

Detailed Description

Handle the replicate chain of the TCP decompression profile.

Author
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org

Function Documentation

◆ tcp_parse_replicate_chain()

bool tcp_parse_replicate_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 replicate chain of the IR-CR packet.

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