Embedded TCP/IP stack: fnet_netif_set_default

FNET

void fnet_netif_set_default ( fnet_netif_desc_t  netif_desc)

Assigns the default network interface.

Parameters
netif_descNetwork interface descriptor to be assigned as default.
See also
fnet_netif_get_default()

This function sets the netif as 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