Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

DHCPv6. More...

Data Structures

struct  net_dhcpv6_params
 DHCPv6 client configuration parameters. More...
 

Functions

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.
 
void net_dhcpv6_restart (struct net_if *iface)
 Restart DHCPv6 client on an iface.
 

Detailed Description

DHCPv6.

Function Documentation

◆ net_dhcpv6_restart()

void net_dhcpv6_restart ( struct net_if iface)

#include <zephyr/net/dhcpv6.h>

Restart DHCPv6 client on an iface.

Restart DHCPv6 client on a given interface. DHCPv6 client will restart the state machine without any of the initial delays.

Parameters
ifaceA valid pointer to a network interface

◆ net_dhcpv6_start()

void net_dhcpv6_start ( struct net_if iface,
struct net_dhcpv6_params params 
)

#include <zephyr/net/dhcpv6.h>

Start DHCPv6 client on an iface.

Start DHCPv6 client on a given interface. DHCPv6 client will start negotiation for IPv6 address and/or prefix, depending on the configuration. Once the negotiation is complete, IPv6 address/prefix details will be added to the interface.

Parameters
ifaceA valid pointer to a network interface
paramsDHCPv6 client configuration parameters.

◆ net_dhcpv6_stop()

void net_dhcpv6_stop ( struct net_if iface)

#include <zephyr/net/dhcpv6.h>

Stop DHCPv6 client on an iface.

Stop DHCPv6 client on a given interface. DHCPv6 client will remove all configuration obtained from a DHCP server from the interface and stop any further negotiation with the server.

Parameters
ifaceA valid pointer to a network interface