Network packet (may contains several IP headers)  
More...
#include <rohc/rohc_buf.h>
#include "ip.h"
#include "rohc_traces.h"
 
Go to the source code of this file.
◆ rohc_ctxt_key_t
The key to help identify (not quaranted unique) a compression context 
 
 
◆ net_pkt_get_payload_offset()
      
        
          | size_t net_pkt_get_payload_offset  | 
          ( | 
          const struct net_pkt *const  | 
          packet | ) | 
           | 
        
      
 
Get the offset of the IP payload in the given packet. 
The payload begins after the innermost IP header (and its extension headers).
- Parameters
 - 
  
    | packet | The packet to get the payload offset for  | 
  
   
- Returns
 - The payload offset (in bytes) 
 
 
 
◆ net_pkt_parse()
Parse a network packet. 
- Parameters
 - 
  
    | [out] | packet | The parsed packet  | 
     | data | The data to parse  | 
     | trace_cb | The function to call for printing traces  | 
     | trace_cb_priv | An optional private context, may be NULL  | 
     | trace_entity | The entity that emits the traces  |