Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_by_number()

fnet_netif_desc_t fnet_netif_get_by_number ( fnet_index_t  n)

Looks for a network interface according to its number.

Parameters
nNumber of a network interface (from zero).
Returns
This function returns:
  • Network interface descriptor that matches the n-th interface.
  • FNET_NULL if n-th interface is not available.
See also
fnet_netif_get_by_name()

This function scans the global network interface list looking for a network interface matching the n parameter.


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