Embedded TCP/IP stack  4.7.0

◆ fnet_netif_set_default()

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