Data Fields
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) More...
uint16_t len
 Payload length, including any extension headers. More...
uint8_t next_header
 Next header type. More...
uint8_t hop_limit
 Hop limit. More...
struct in6_addr src
 Source address. More...
struct in6_addr dest
 Destination address. More...

Detailed Description

IPv6 header.

Definition at line 35 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 37 of file ipv6.h.

◆ len

uint16_t ipv6_header::len

Payload length, including any extension headers.

Definition at line 39 of file ipv6.h.

◆ next_header

uint8_t ipv6_header::next_header

Next header type.

Definition at line 41 of file ipv6.h.

◆ hop_limit

uint8_t ipv6_header::hop_limit

Hop limit.

Definition at line 43 of file ipv6.h.

◆ src

struct in6_addr ipv6_header::src

Source address.

Definition at line 45 of file ipv6.h.

Referenced by ipv6_is_fragment().

◆ dest

struct in6_addr ipv6_header::dest

Destination address.

Definition at line 47 of file ipv6.h.

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