Functions related to ROHC add-CID.  
More...
#include "rohc_add_cid.h"
#include "rohc_bit_ops.h"
#include <stdint.h>
#include <stdbool.h>
 | 
| #define  | ROHC_ADD_CID   0xe | 
|   | The magic bits to find out whether a ROHC packet starts with an add-CID byte or not.  More...
  | 
|   | 
 | 
| static bool  | rohc_add_cid_is_present (const uint8_t *const data, const size_t len) | 
|   | Check whether a ROHC packet starts with an add-CID byte or not.  More...
  | 
|   | 
| 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...
  | 
|   | 
◆ ROHC_ADD_CID
The magic bits to find out whether a ROHC packet starts with an add-CID byte or not. 
 
 
◆ rohc_add_cid_decode()
      
        
          | 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
 - 
  
    | data | The ROHC packet with a possible add-CID byte  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - UINT8_MAX if no add-CID byte is present, the CID value otherwise 
 
 
 
◆ rohc_add_cid_is_present()
  
  
      
        
          | static bool rohc_add_cid_is_present  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
         
        
           | 
           | 
          const size_t  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Check whether a ROHC packet starts with an add-CID byte or not. 
- Parameters
 - 
  
    | data | The ROHC packet with a possible add-CID byte  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet starts with an add-CID byte or not