Browse Source

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.
STABLE-2_1_x
Grant Erickson 13 years ago committed by Simon Goldschmidt
parent
commit
8ae472821f
  1. 3
      src/include/ipv4/lwip/autoip.h

3
src/include/ipv4/lwip/autoip.h

@ -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…
Cancel
Save