#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_callback2_t | trace_callback |
| void * | trace_callback_priv |
One network packet
| const uint8_t* net_pkt::data |
The packet data
struct ip_packet net_pkt::inner_ip [read] |
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 [read] |
The outer IP header
The callback function used to manage traces
The private context of the callback function used to manage traces
struct net_hdr* net_pkt::transport [read] |
The transport layer of the packet if any
1.6.1