Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_by_sockaddr()

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