Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_default()

fnet_netif_desc_t fnet_netif_get_default ( void  )

Retrieves the default network interface.

Returns
This function returns the descriptor of the default network interface.
See also
fnet_netif_set_default()

This function returns the descriptor of the default network interface.

By default, during the FNET stack initialization, the default network interface is assigned to the Ethernet.


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