Embedded TCP/IP stack: fnet_netif_get_default

FNET

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