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 <c_generic.h>

Collaboration diagram for ip_header_info:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

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


Field Documentation

union { ... } ip_header_info::info

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

Referenced by c_generic_encode(), and c_init_header_info().

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

Referenced by c_init_header_info(), changed_static_one_hdr(), code_ipv4_static_part(), code_ipv6_static_part(), header_fields(), and header_flags().

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

Referenced by c_init_header_info(), changed_dynamic_one_hdr(), code_ipv4_dynamic_part(), code_ipv6_dynamic_part(), header_fields(), and header_flags().

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

Referenced by c_init_header_info(), changed_dynamic_one_hdr(), code_ipv4_dynamic_part(), code_ipv6_dynamic_part(), header_fields(), and header_flags().


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