ROHC compression/decompression library
Data Fields
net_pkt Struct Reference

#include <net_pkt.h>

Collaboration diagram for net_pkt:
Collaboration graph
[legend]

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_hdrtransport
 
rohc_ctxt_key_t key
 
rohc_trace_callback2_t trace_callback
 
void * trace_callback_priv
 

Detailed Description

One network packet

Field Documentation

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

rohc_ctxt_key_t net_pkt::key

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

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


The documentation for this struct was generated from the following file: