ROHC compression/decompression library
Data Fields
rohc_pkt_hdrs Struct Reference

The information collected about the packet headers. More...

#include <uncomp_pkt_hdrs.h>

Collaboration diagram for rohc_pkt_hdrs:
Collaboration graph
[legend]

Data Fields

uint8_t ip_hdrs_nr
 
struct rohc_pkt_ip_hdr ip_hdrs [ROHC_MAX_IP_HDRS]
 
const struct rohc_pkt_ip_hdrinnermost_ip_hdr
 
union {
   struct {
      const struct tcphdr *   tcp
 
      struct {
         uint8_t   nr
 
         uint8_t   tot_len
 
         const uint8_t *   data [ROHC_TCP_OPTS_MAX]
 
         uint8_t   types [ROHC_TCP_OPTS_MAX]
 
         uint8_t   lengths [ROHC_TCP_OPTS_MAX]
 
      }   tcp_opts
 
   } 
 
   const struct udphdr *   udp
 
   const struct esphdr *   esp
 
   const uint8_t *   transport
 
}; 
 
const struct rtphdrrtp
 
uint16_t all_hdrs_len
 
const uint8_t * all_hdrs
 
uint16_t payload_len
 
const uint8_t * payload
 

Detailed Description

The information collected about the packet headers.

The information about the packet headers is collected while the best profile is detected, and that information may be later used while the best context is detected or while changes with the compression context are detected.

The collection of information avoids parsing the packet headers several times.

Field Documentation

◆ @27

union { ... }

◆ all_hdrs

const uint8_t* rohc_pkt_hdrs::all_hdrs

All raw headers

◆ all_hdrs_len

uint16_t rohc_pkt_hdrs::all_hdrs_len

The cumulated length of all headers

◆ data

const uint8_t* rohc_pkt_hdrs::data[ROHC_TCP_OPTS_MAX]

◆ esp

const struct esphdr* rohc_pkt_hdrs::esp

The ESP header (if any)

◆ innermost_ip_hdr

const struct rohc_pkt_ip_hdr* rohc_pkt_hdrs::innermost_ip_hdr

The innermost IP header

◆ ip_hdrs

struct rohc_pkt_ip_hdr rohc_pkt_hdrs::ip_hdrs[ROHC_MAX_IP_HDRS]

The IP headers

◆ ip_hdrs_nr

uint8_t rohc_pkt_hdrs::ip_hdrs_nr

The number of IP headers

◆ lengths

uint8_t rohc_pkt_hdrs::lengths[ROHC_TCP_OPTS_MAX]

◆ nr

uint8_t rohc_pkt_hdrs::nr

◆ payload

const uint8_t* rohc_pkt_hdrs::payload

The packet payload

◆ payload_len

uint16_t rohc_pkt_hdrs::payload_len

The length of the packet payload

◆ rtp

const struct rtphdr* rohc_pkt_hdrs::rtp

The RTP header (if any)

◆ tcp

const struct tcphdr* rohc_pkt_hdrs::tcp

The TCP header (if any)

◆ tcp_opts

struct { ... } rohc_pkt_hdrs::tcp_opts

◆ tot_len

uint8_t rohc_pkt_hdrs::tot_len

◆ transport

const uint8_t* rohc_pkt_hdrs::transport

The transport header (if any)

◆ types

uint8_t rohc_pkt_hdrs::types[ROHC_TCP_OPTS_MAX]

◆ udp

const struct udphdr* rohc_pkt_hdrs::udp

The UDP header (if any)


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