11#ifndef ZEPHYR_INCLUDE_NET_DHCPV6_H_
12#define ZEPHYR_INCLUDE_NET_DHCPV6_H_
30enum net_dhcpv6_state {
33 NET_DHCPV6_SOLICITING,
34 NET_DHCPV6_REQUESTING,
35 NET_DHCPV6_CONFIRMING,
38 NET_DHCPV6_INFO_REQUESTING,
42#define DHCPV6_TID_SIZE 3
44#ifndef CONFIG_NET_DHCPV6_DUID_MAX_LEN
45#define CONFIG_NET_DHCPV6_DUID_MAX_LEN 22
48struct net_dhcpv6_duid_raw {
50 uint8_t buf[CONFIG_NET_DHCPV6_DUID_MAX_LEN];
53struct net_dhcpv6_duid_storage {
54 struct net_dhcpv6_duid_raw duid;
109const char *net_dhcpv6_state_name(
enum net_dhcpv6_state
state);
void net_dhcpv6_restart(struct net_if *iface)
Restart DHCPv6 client on an iface.
void net_dhcpv6_start(struct net_if *iface, struct net_dhcpv6_params *params)
Start DHCPv6 client on an iface.
void net_dhcpv6_stop(struct net_if *iface)
Stop DHCPv6 client on an iface.
state
Definition parser_state.h:29
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
DHCPv6 client configuration parameters.
Definition dhcpv6.h:63
bool request_addr
Request IPv6 address.
Definition dhcpv6.h:64
bool request_prefix
Request IPv6 prefix.
Definition dhcpv6.h:65
Network Interface structure.
Definition net_if.h:680