ROHC compression/decompression library
|
#include <net_pkt.h>
Data Fields | |
const uint8_t * | data |
size_t | len |
size_t | ip_hdr_nr |
struct ip_packet | outer_ip |
struct ip_packet | inner_ip |
struct net_hdr * | transport |
rohc_ctxt_key_t | key |
rohc_trace_callback_t | trace_callback |
rohc_trace_callback2_t | trace_callback2 |
void * | trace_callback_priv |
One network packet
const uint8_t* net_pkt::data |
The packet data
struct ip_packet net_pkt::inner_ip |
The inner IP header if any
size_t net_pkt::ip_hdr_nr |
The number of IP headers
The hash key of the packet
size_t net_pkt::len |
The length (in bytes) of the packet data
struct ip_packet net_pkt::outer_ip |
The outer IP header
The old callback function used to manage traces
The new callback function used to manage traces
The private context of the callback function used to manage traces
struct net_hdr* net_pkt::transport |
The transport layer of the packet if any