Embedded TCP/IP stack: fnet_netif_get_by_number

FNET

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