Functions related to ROHC add-CID.
More...
Defines |
#define | ROHC_ADD_CID 0xe |
| The magic bits to find out whether a ROHC packet starts with an add-CID byte or not.
|
Functions |
bool | rohc_add_cid_is_present (const uint8_t *const data) |
| Check whether a ROHC packet starts with an add-CID byte or not.
|
uint8_t | rohc_add_cid_decode (const uint8_t *const data) |
| Decode the add-CID byte of a ROHC packet (if the add-CID byte is present)
|
Detailed Description
Functions related to ROHC add-CID.
- Author:
- Didier Barvaux <didier.barvaux@toulouse.viveris.com>
-
Didier Barvaux <didier@barvaux.org>
Define Documentation
The magic bits to find out whether a ROHC packet starts with an add-CID byte or not.
Function Documentation
Decode the add-CID byte of a ROHC packet (if the add-CID byte is present)
- Parameters:
-
data | The ROHC packet with a possible add-CID byte |
- Returns:
- 0 if no add-CID byte is present, the CID value otherwise
Check whether a ROHC packet starts with an add-CID byte or not.
- Parameters:
-
data | The ROHC packet with a possible add-CID byte |
- Returns:
- Whether the ROHC packet starts with an add-CID byte or not