iPXE
ipv6_header Struct Reference

IPv6 header. More...

#include <ipv6.h>

Data Fields

uint32_t ver_tc_label
 Version (4 bits), Traffic class (8 bits), Flow label (20 bits)
uint16_t len
 Payload length, including any extension headers.
uint8_t next_header
 Next header type.
uint8_t hop_limit
 Hop limit.
struct in6_addr src
 Source address.
struct in6_addr dest
 Destination address.

Detailed Description

IPv6 header.

Definition at line 36 of file ipv6.h.

Field Documentation

◆ ver_tc_label

uint32_t ipv6_header::ver_tc_label

Version (4 bits), Traffic class (8 bits), Flow label (20 bits)

Definition at line 38 of file ipv6.h.

◆ len

uint16_t ipv6_header::len

Payload length, including any extension headers.

Definition at line 40 of file ipv6.h.

◆ next_header

uint8_t ipv6_header::next_header

Next header type.

Definition at line 42 of file ipv6.h.

◆ hop_limit

uint8_t ipv6_header::hop_limit

Hop limit.

Definition at line 44 of file ipv6.h.

◆ src

struct in6_addr ipv6_header::src

Source address.

Definition at line 46 of file ipv6.h.

Referenced by ipv6_is_fragment().

◆ dest

struct in6_addr ipv6_header::dest

Destination address.

Definition at line 48 of file ipv6.h.


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