Embedded TCP/IP stack  4.7.0

◆ fnet_autoip_set_callback_updated()

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.

Parameters
descAuto-IP service descriptor.
callback_updatedPointer to the callback function defined by fnet_autoip_callback_t.
cookieOptional 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.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net