Embedded TCP/IP stack  4.7.0

◆ fnet_link_init()

fnet_link_desc_t fnet_link_init ( fnet_link_params_t params)

Initializes the Link-Detection service.

Parameters
paramsInitialization parameters defined by fnet_llmnr_params_t.
Returns
This function returns:
  • Link-Detection service descriptor if no error occurs.
  • 0 if an error occurs.
See also
fnet_link_release(), fnet_link_params_t

This function starts the Link-Detection service on netif interface. It allocates all needed resources and registers the Link-Detection service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the service routine in the background.
It is posible to run several services on the same networking interface.


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