Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_by_ip4_addr()

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