ROHC compression/decompression library
Data Fields
ipv6_generic_option_context_t Struct Reference

Define the IPv6 generic option context. More...

#include <ip_ctxt.h>

Data Fields

uint8_t data [IPV6_OPT_CTXT_LEN_MAX]
 
uint16_t option_length
 The IPv6 option length. More...
 
uint16_t data_len
 

Detailed Description

Define the IPv6 generic option context.

Define the IPv6 option context for Destination, Hop-by-Hop and Routing option.

Field Documentation

◆ data

uint8_t ipv6_generic_option_context_t::data

◆ data_len

uint16_t ipv6_generic_option_context_t::data_len

◆ option_length

uint16_t ipv6_generic_option_context_t::option_length

The IPv6 option length.

Standard reads that max length = (0xff + 1) * 8 = 2048 bytes, but the ROHC implementation limits the length to (4 + 1) * 8 = 40 bytes.


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