lwIP 2.2.0
Lightweight IP stack
|
Data Structures | |
struct | autoip |
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) |
void | autoip_network_changed_link_up (struct netif *netif) |
void | autoip_network_changed_link_down (struct netif *netif) |
u8_t | autoip_supplied_address (struct netif *netif) |
AutoIP Automatic LinkLocal IP Configuration
void autoip_network_changed_link_down | ( | struct netif * | netif | ) |
Handle a possible change in the network configuration: link down
If there is an AutoIP address configured and AutoIP is in cooperation with DHCP, then stop the autoip module. When the link goes up, we do not want the autoip module to start again. DHCP will initiate autoip when needed.
void autoip_network_changed_link_up | ( | struct netif * | netif | ) |
Handle a possible change in the network configuration: link up
If there is an AutoIP address configured and AutoIP is not in cooperation with DHCP, start probing for previous address.