Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_dhcpv6_params Struct Reference

DHCPv6 client configuration parameters. More...

#include <dhcpv6.h>

Data Fields

bool request_addr: 1
 Request IPv6 address.
bool request_prefix: 1
 Request IPv6 prefix.
uint8_t downstream_count
 Number of valid entries in downstream_ifaces.
int downstream_ifaces [NET_DHCPV6_MAX_DOWNSTREAM]
 Optional downstream interface indices.

Detailed Description

DHCPv6 client configuration parameters.

Field Documentation

◆ downstream_count

uint8_t net_dhcpv6_params::downstream_count

Number of valid entries in downstream_ifaces.

◆ downstream_ifaces

int net_dhcpv6_params::downstream_ifaces[NET_DHCPV6_MAX_DOWNSTREAM]

Optional downstream interface indices.

When a prefix is delegated (request_prefix), each listed interface is turned into a downstream link of a requesting router (RFC 8415): it is assigned a distinct /64 carved from the delegated prefix (the Nth entry gets the Nth /64), which is then advertised via Router Advertisements. Requires

CONFIG_NET_IPV6_ND_RA_TX 

. A downstream_count of 0 means the delegated prefix is only installed on iface.

Note that the delegated prefix must be short enough to contain a distinct /64 for every listed interface, i.e. a delegation of length L can serve at most 2^(64 - L) downstream interfaces. Interfaces that cannot be given a distinct /64 are skipped.

◆ request_addr

bool net_dhcpv6_params::request_addr

Request IPv6 address.

◆ request_prefix

bool net_dhcpv6_params::request_prefix

Request IPv6 prefix.


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