ROHC compression/decompression library
Functions
d_tcp_static.h File Reference

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

Go to the source code of this file.

Functions

bool tcp_parse_static_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 static chain of the IR packet. More...
 

Detailed Description

Handle the static 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

bool tcp_parse_static_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 static chain of the IR 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 static chain
[out]parsed_lenThe length (in bytes) of static chain in case of success
Returns
true in the static chain was successfully parsed, false if the ROHC packet was malformed