Embedded TCP/IP stack: fnet_netif_get_by_ip4_addr

FNET

fnet_netif_desc_t fnet_netif_get_by_ip4_addr ( fnet_ip4_addr_t  addr)

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

Parameters
addrThe IPv4 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_name()

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


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