mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
autoip: add autoip_remove_struct
Added previously-missing autoip_remove_struct as a companion to autoip_set_struct and to parallel dhcp_{set,remove}_struct.
This commit is contained in:
parent
26911ff21c
commit
8ae472821f
@ -94,6 +94,9 @@ struct autoip
|
||||
/** Set a struct autoip allocated by the application to work with */
|
||||
void autoip_set_struct(struct netif *netif, struct autoip *autoip);
|
||||
|
||||
/** Remove a struct autoip previously set to the netif using autoip_set_struct() */
|
||||
#define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0)
|
||||
|
||||
/** Start AutoIP client */
|
||||
err_t autoip_start(struct netif *netif);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user