Embedded TCP/IP stack: fnet_netif_get_by_sockaddr

FNET

fnet_netif_desc_t fnet_netif_get_by_sockaddr ( const struct fnet_sockaddr addr)

Looks for a network interface according to the specified socket address.

Parameters
addrThe socket address of a network interface.
Returns
This function returns:
  • Network interface descriptor that matches the addr parameter.
  • FNET_NULL if there is no match.
See also
fnet_netif_get_by_scope_id()

This function scans the global network interface list looking for a network interface matching the specified socket address.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net