Gets MAC address of valid ARP cache entry.
- Parameters
-
| [in] | netif_desc | Network interface descriptor. |
| [in] | ip_addr | IPv4 address to search for. |
| [out] | mac_addr | Buffer will contain a MAC address corresponding ipaddr.
This parameter is optional. |
- Returns
- This function returns:
- FNET_TRUE if no error occurs and entry corresponding to
ip_addr exists.
- FNET_FALSE in case of error or entry corresponding to
ip_addr does not exist.
This function searches for an entry corresponding to the provided IPv4 address.
If mac_addr parameter is present, it will contain a valid MAC address corresponding to ip_addr.