Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
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. | |
DHCPv6.
void net_dhcpv6_restart | ( | struct net_if * | iface | ) |
#include <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.
iface | A valid pointer to a network interface |
void net_dhcpv6_start | ( | struct net_if * | iface, |
struct net_dhcpv6_params * | params | ||
) |
#include <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.
iface | A valid pointer to a network interface |
params | DHCPv6 client configuration parameters. |
void net_dhcpv6_stop | ( | struct net_if * | iface | ) |
#include <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.
iface | A valid pointer to a network interface |