Loading...
Searching...
No Matches
IPv6 extension headers

Provides IPv6 extension header definitions and helper functions. More...

Detailed Description

Provides IPv6 extension header definitions and helper functions.

Topics

 IPv6 destination and hop-by-hop options
 Definitions for IPv6 destination and hop-by-hop options extension headers
 
 IPv6 fragmentation extension
 Definitions for IPv6 fragmentation extension
 
 IPv6 routing header extension
 Definitions for IPv6 routing header extension.
 

Files

file  ext.h
 IPv6 extension header definitions.
 

Data Structures

struct  ipv6_ext_t
 IPv6 extension headers. More...
 

Macros

#define IPV6_EXT_LEN_UNIT   (8U)
 Unit in byte for the extension header's length field.
 

Functions

static ipv6_ext_tipv6_ext_get_next (ipv6_ext_t *ext)
 Gets the next extension header in a packet.
 

Macro Definition Documentation

◆ IPV6_EXT_LEN_UNIT

#define IPV6_EXT_LEN_UNIT   (8U)

Unit in byte for the extension header's length field.

Definition at line 32 of file ext.h.

Function Documentation

◆ ipv6_ext_get_next()

static ipv6_ext_t * ipv6_ext_get_next ( ipv6_ext_t * ext)
inlinestatic

Gets the next extension header in a packet.

Parameters
[in]extThe current extension header.
Returns
The next extension header.

Definition at line 52 of file ext.h.