Embedded TCP/IP stack: fnet_netif_is_connected

FNET

fnet_bool_t fnet_netif_is_connected ( fnet_netif_desc_t  netif_desc)

Determines the link status of the network interface.

Parameters
netif_descNetwork interface descriptor.
Returns
This function returns:
  • FNET_FALSE if the network link is disconnected.
  • FNET_TRUE if the network link is connected.

This function determines if the netif interface is marked as connected to a network or not. The Ethernet network interface gets this status from the PHY.


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