Embedded TCP/IP stack: fnet_link_get_by_netif

FNET

fnet_link_desc_t fnet_link_get_by_netif ( fnet_netif_desc_t  netif)

Looks for a Link-Detection service assigned to the specified network interface.

Parameters
netifNetwork interface descriptor.
Returns
This function returns:
  • Link-Detection service descriptor assigned to the netif network interface.
  • FNET_NULL if there is no any Link-Detection service assigned to the network interface.
See also
fnet_link_init

This function is looking for a Link-Detection service assigned to the netif network interface set during its initialization.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net