Embedded TCP/IP stack
4.7.0
|
void fnet_autoip_set_callback_updated | ( | fnet_autoip_desc_t | desc, |
fnet_autoip_callback_t | callback_updated, | ||
void * | cookie | ||
) |
Registers the "IPv4 parameters updated" Auto-IP event handler callback.
desc | Auto-IP service descriptor. |
callback_updated | Pointer to the callback function defined by fnet_autoip_callback_t. |
cookie | Optional application-specific parameter. It's passed to the callback_updated callback function as input parameter. |
This function registers the callback_updated
callback function for the "IPv4 parameters updated" event. This event occurs when the Auto-IP client has updated the IP parameters.
To stop the event handling, set the callback_updated
parameter to zero value.