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

DHCPv6 server configuration parameters. More...

#include <dhcpv6_server.h>

Data Fields

struct net_in6_addr prefix
 Base of the prefix pool used for prefix delegation (IA_PD).
struct net_in6_addr addr
 Base of the address pool used for non-temporary address assignment (IA_NA).
uint32_t valid_lifetime
 Valid lifetime advertised to clients (seconds).
uint32_t preferred_lifetime
 Preferred lifetime advertised to clients (seconds).
uint8_t prefix_len
 Length (in bits) of the prefixes delegated to clients, e.g.
bool offer_addr: 1
 Hand out IA_NA (non-temporary) addresses.
bool offer_prefix: 1
 Hand out IA_PD (delegated) prefixes.

Detailed Description

DHCPv6 server configuration parameters.

Field Documentation

◆ addr

struct net_in6_addr net_dhcpv6_server_params::addr

Base of the address pool used for non-temporary address assignment (IA_NA).

Leased addresses are derived from this base.

◆ offer_addr

bool net_dhcpv6_server_params::offer_addr

Hand out IA_NA (non-temporary) addresses.

◆ offer_prefix

bool net_dhcpv6_server_params::offer_prefix

Hand out IA_PD (delegated) prefixes.

◆ preferred_lifetime

uint32_t net_dhcpv6_server_params::preferred_lifetime

Preferred lifetime advertised to clients (seconds).

0 selects a default.

◆ prefix

struct net_in6_addr net_dhcpv6_server_params::prefix

Base of the prefix pool used for prefix delegation (IA_PD).

Prefixes handed to requesting routers are derived from this base by varying the subnet bits.

◆ prefix_len

uint8_t net_dhcpv6_server_params::prefix_len

Length (in bits) of the prefixes delegated to clients, e.g.

◆ valid_lifetime

uint32_t net_dhcpv6_server_params::valid_lifetime

Valid lifetime advertised to clients (seconds).

0 selects a default.


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