Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
DHCPv4. More...
Functions | |
void | net_dhcpv4_start (struct net_if *iface) |
Start DHCPv4 client on an iface. More... | |
void | net_dhcpv4_stop (struct net_if *iface) |
Stop DHCPv4 client on an iface. More... | |
DHCPv4.
void net_dhcpv4_start | ( | struct net_if * | iface | ) |
#include <include/net/dhcpv4.h>
Start DHCPv4 client on an iface.
Start DHCPv4 client on a given interface. DHCPv4 client will start negotiation for IPv4 address. Once the negotiation is success IPv4 address details will be added to interface.
iface | A valid pointer on an interface |
void net_dhcpv4_stop | ( | struct net_if * | iface | ) |
#include <include/net/dhcpv4.h>
Stop DHCPv4 client on an iface.
Stop DHCPv4 client on a given interface. DHCPv4 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 on an interface |