Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
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.
#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 |
#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 |