ROHC compression/decompression library
Data Fields
ip_header_info Struct Reference

Store information about an IP (IPv4 or IPv6) header between the different compressions of IP packets. More...

#include <rohc_comp_rfc3095.h>

Collaboration diagram for ip_header_info:
Collaboration graph
[legend]

Data Fields

ip_version version
 The version of the IP header. More...
 
size_t tos_count
 The number of times the TOS/TC field was added to the compressed header. More...
 
size_t ttl_count
 The number of times the TTL/HL field was added to the compressed header. More...
 
size_t protocol_count
 The number of times the Protocol/Next Header field was added to the compressed header. More...
 
bool is_first_header
 
union {
   struct ipv4_header_info   v4
 The IPv4-specific header info. More...
 
   struct ipv6_header_info   v6
 The IPv6-specific header info. More...
 
} info
 The version specific header info. More...
 

Detailed Description

Store information about an IP (IPv4 or IPv6) header between the different compressions of IP packets.

Field Documentation

◆ info

union { ... } ip_header_info::info

The version specific header info.

◆ is_first_header

bool ip_header_info::is_first_header

Whether the old_* members of the struct and in its children are initialized or not

◆ protocol_count

size_t ip_header_info::protocol_count

The number of times the Protocol/Next Header field was added to the compressed header.

◆ tos_count

size_t ip_header_info::tos_count

The number of times the TOS/TC field was added to the compressed header.

◆ ttl_count

size_t ip_header_info::ttl_count

The number of times the TTL/HL field was added to the compressed header.

◆ v4

struct ipv4_header_info ip_header_info::v4

The IPv4-specific header info.

◆ v6

struct ipv6_header_info ip_header_info::v6

The IPv6-specific header info.

◆ version

ip_version ip_header_info::version

The version of the IP header.


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