Embedded TCP/IP stack  4.7.0

◆ fnet_netif_is_connected()

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