ROHC compression/decompression library
Functions
decomp_crc.c File Reference

ROHC decompression checks for CRC. More...

#include "decomp_crc.h"
Include dependency graph for decomp_crc.c:

Functions

bool rohc_decomp_check_uncomp_crc (const struct rohc_decomp *const decomp, const struct rohc_decomp_ctxt *const context, struct rohc_buf *const uncomp_hdrs, const rohc_crc_type_t crc_type, const uint8_t crc_packet)
 Check whether the CRC on uncompressed header is correct or not. More...
 

Detailed Description

ROHC decompression checks for CRC.

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

◆ rohc_decomp_check_uncomp_crc()

bool rohc_decomp_check_uncomp_crc ( const struct rohc_decomp *const  decomp,
const struct rohc_decomp_ctxt *const  context,
struct rohc_buf *const  uncomp_hdrs,
const rohc_crc_type_t  crc_type,
const uint8_t  crc_packet 
)

Check whether the CRC on uncompressed header is correct or not.

Parameters
decompThe ROHC decompressor
contextThe decompression context
uncomp_hdrsThe uncompressed headers
crc_typeThe type of CRC
crc_packetThe CRC extracted from the ROHC header
Returns
true if the CRC is correct, false otherwise