Embedded TCP/IP stack: fnet_link_init

FNET

fnet_link_desc_t fnet_link_init ( struct fnet_link_params params)

Initializes the Link-Detection service.

Parameters
paramsInitialization parameters defined by fnet_llmnr_params.
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

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-2018 by Andrey Butok. http://fnet.sourceforge.net