Embedded TCP/IP stack  4.7.0

◆ fnet_autoip_set_callback_probe()

void fnet_autoip_set_callback_probe ( fnet_autoip_desc_t  desc,
fnet_autoip_callback_t  callback_probe,
void *  param 
)

Registers the "Address probing" Auto-IP event handler callback.

Parameters
descAuto-IP client descriptor.
callback_probePointer to the callback function defined by fnet_autoip_callback_t.
paramOptional application-specific parameter.
It's passed to the callback_probe callback function as input parameter.

This function registers the handler callback_probe function for the "Address probing" event. This event occurs when the Auto-IP service sends the ARP probe message. A user interface program may use it for indication of adress-probing attempts.
To stop the event handling, set the callback_probe parameter to zero value.


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