|
ROHC compression/decompression library
|
#include <net_pkt.h>

Data Fields | |
| struct rohc_ts | time |
| 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_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 |
The inner IP header if any
| size_t net_pkt::ip_hdr_nr |
The number of IP headers
| size_t net_pkt::len |
The length (in bytes) of the packet data
| struct ip_packet net_pkt::outer_ip |
The outer IP header
| struct rohc_ts net_pkt::time |
The time of packet arrival
| rohc_trace_callback2_t net_pkt::trace_callback |
The callback function used to manage traces
| void* net_pkt::trace_callback_priv |
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
1.8.13