Functions related to packet detection.  
More...
◆ D_IR_DYN_PACKET
      
        
          | #define D_IR_DYN_PACKET   0xf8 | 
        
      
 
The magic byte to find out whether a ROHC packet is an IR-DYN packet 
 
 
◆ D_IR_PACKET
      
        
          | #define D_IR_PACKET   (0xfc >> 1) | 
        
      
 
The magic bits to find out whether a ROHC packet is an IR packet or not 
 
 
◆ D_SEGMENT
      
        
          | #define D_SEGMENT   (0xfe >> 1) | 
        
      
 
The magic bits to find out whether a field is a segment field or not 
 
 
◆ rohc_decomp_packet_is_ir()
      
        
          | bool rohc_decomp_packet_is_ir  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an IR packet or not. 
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an IR packet or not 
 
 
 
◆ rohc_decomp_packet_is_irdyn()
      
        
          | bool rohc_decomp_packet_is_irdyn  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an IR-DYN packet or not. 
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an IR-DYN packet or not 
 
 
 
◆ rohc_decomp_packet_is_padding()
      
        
          | bool rohc_decomp_packet_is_padding  | 
          ( | 
          const uint8_t *const  | 
          data | ) | 
           | 
        
      
 
Find out whether the field is a padding field or not. 
- Parameters
 - 
  
  
 
- Returns
 - Whether the field is a padding field or not 
 
 
 
◆ rohc_decomp_packet_is_segment()
      
        
          | bool rohc_decomp_packet_is_segment  | 
          ( | 
          const uint8_t *const  | 
          data | ) | 
           | 
        
      
 
Find out whether the field is a segment field or not. 
- Parameters
 - 
  
  
 
- Returns
 - Whether the field is a segment field or not 
 
 
 
◆ rohc_decomp_packet_is_uo0()
      
        
          | bool rohc_decomp_packet_is_uo0  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an UO-0 packet or not. 
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an UO-0 packet or not 
 
 
 
◆ rohc_decomp_packet_is_uo1()
      
        
          | bool rohc_decomp_packet_is_uo1  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an UO-1* packet or not. 
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an UO-1* packet or not 
 
 
 
◆ rohc_decomp_packet_is_uo1_ts()
      
        
          | bool rohc_decomp_packet_is_uo1_ts  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an UO-1-TS packet or not. 
Check the T field that discriminates between UO-1-TS and UO-1-ID.
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an UO-1-TS packet or not 
 
 
 
◆ rohc_decomp_packet_is_uor2()
      
        
          | bool rohc_decomp_packet_is_uor2  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an UOR-2* packet or not. 
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | len | The length of the ROHC packet  | 
  
   
- Returns
 - Whether the ROHC packet is an UOR-2* packet or not 
 
 
 
◆ rohc_decomp_packet_is_uor2_ts()
      
        
          | bool rohc_decomp_packet_is_uor2_ts  | 
          ( | 
          const uint8_t *const  | 
          data,  | 
        
        
           | 
           | 
          const size_t  | 
          data_len,  | 
        
        
           | 
           | 
          const size_t  | 
          large_cid_len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find out whether a ROHC packet is an UOR-2-TS packet or not. 
Check the T field that discriminates between UOR-2-TS and UOR-2-ID.
- Parameters
 - 
  
    | data | The ROHC packet to analyze  | 
    | data_len | The length of the ROHC packet  | 
    | large_cid_len | The length of the optional large CID field  | 
  
   
- Returns
 - Whether the ROHC packet is an UOR-2-TS packet or not