ROHC compression/decompression library
Data Fields
net_pkt Struct Reference

#include <net_pkt.h>

Collaboration diagram for net_pkt:
Collaboration graph
[legend]

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

Detailed Description

One network packet

Field Documentation

◆ data

const uint8_t* net_pkt::data

The packet data

◆ inner_ip

struct ip_packet net_pkt::inner_ip

The inner IP header if any

◆ ip_hdr_nr

size_t net_pkt::ip_hdr_nr

The number of IP headers

◆ len

size_t net_pkt::len

The length (in bytes) of the packet data

◆ outer_ip

struct ip_packet net_pkt::outer_ip

The outer IP header

◆ time

struct rohc_ts net_pkt::time

The time of packet arrival

◆ trace_callback

rohc_trace_callback2_t net_pkt::trace_callback

The callback function used to manage traces

◆ trace_callback_priv

void* net_pkt::trace_callback_priv

The private context of the callback function used to manage traces

◆ transport

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: