ROHC compression/decompression library
Functions
rohc_add_cid.h File Reference

Functions related to ROHC add-CID. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for rohc_add_cid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t rohc_add_cid_decode (const uint8_t *const data, const size_t len)
 Decode the add-CID byte of a ROHC packet (if the add-CID byte is present) More...
 

Detailed Description

Functions related to ROHC add-CID.

Author
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
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org

Function Documentation

uint8_t rohc_add_cid_decode ( const uint8_t *const  data,
const size_t  len 
)

Decode the add-CID byte of a ROHC packet (if the add-CID byte is present)

Parameters
dataThe ROHC packet with a possible add-CID byte
lenThe length of the ROHC packet
Returns
UINT8_MAX if no add-CID byte is present, the CID value otherwise