lwIP 2.2.0
Lightweight IP stack
|
Functions | |
void | autoip_set_struct (struct netif *netif, struct autoip *autoip) |
void | autoip_remove_struct (struct netif *netif) |
err_t | autoip_start (struct netif *netif) |
err_t | autoip_stop (struct netif *netif) |
AUTOIP related functions USAGE:
define LWIP_AUTOIP 1 in your lwipopts.h
Without DHCP:
With DHCP:
void autoip_remove_struct | ( | struct netif * | netif | ) |
Remove a struct autoip previously set to the netif using autoip_set_struct()
netif | the netif for which to set the struct autoip |
Set a statically allocated struct autoip to work with. Using this prevents autoip_start to allocate it using mem_malloc.
netif | the netif for which to set the struct autoip |
autoip | (uninitialised) autoip struct allocated by the application |
Start AutoIP client
netif | network interface on which start the AutoIP client |