ROHC compression/decompression library
Functions
c_tcp_dynamic.h File Reference

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

#include "rohc_comp_internals.h"
#include "rohc_buf.h"
#include "c_tcp_defines.h"
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for c_tcp_dynamic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int tcp_code_dyn_part (struct rohc_comp_ctxt *const context, const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs, struct tcp_tmp_variables *const tmp, uint8_t *const rohc_pkt, const size_t rohc_pkt_max_len)
 Code the dynamic part of an IR or IR-DYN packet. More...
 

Detailed Description

Handle the dynamic chain of the TCP compression 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_code_dyn_part()

int tcp_code_dyn_part ( struct rohc_comp_ctxt *const  context,
const struct rohc_pkt_hdrs *const  uncomp_pkt_hdrs,
struct tcp_tmp_variables *const  tmp,
uint8_t *const  rohc_pkt,
const size_t  rohc_pkt_max_len 
)

Code the dynamic part of an IR or IR-DYN packet.

Parameters
contextThe compression context
uncomp_pkt_hdrsThe uncompressed headers to encode
tmpThe temporary state for compressed packet
rohc_pktOUT: The ROHC packet
rohc_pkt_max_lenThe maximum length of the ROHC packet
Returns
The length of the ROHC packet if successful, -1 otherwise