Symbols
loading...
Files
loading...

dhcp_start() function

Start DHCP negotiation for a network interface. If no DHCP client instance was attached to this interface, a new client is created first. If a DHCP client instance was already present, it restarts negotiation.

Syntax

err_t dhcp_start(struct netif *netif);
Implemented in dhcp.c:736

Arguments

netif

The lwIP network interface

Return value

lwIP error code - ERR_OK - No error - ERR_MEM - Out of memory

Examples

dhcp_start() is referenced by 35 libraries and example projects.

References

LocationReferrerText
dhcp.c:737
dhcp_start(struct netif *netif)
dhcp.h:108
err_t dhcp_start(struct netif *netif);
dhcp.c:444dhcp_coarse_tmr()
dhcp_start(netif);
dhcp.c:516dhcp_timeout()
dhcp_start(netif);

Call Tree

Functions calling dhcp_start()
Functions called by dhcp_start()
all items filtered out
dhcp_start()
Data read by dhcp_start()
Data written by dhcp_start()
dhcp_start()
dhcp_start()::dhcp
dhcp_start()::result
all items filtered out
Type of dhcp_start()
dhcp_start()
all items filtered out