Jump to main content

##

# TCPIP_ARP_IsResolved Function

## C

    bool TCPIP_ARP_IsResolved(
        TCPIP_NET_HANDLE hNet,
        IPV4_ADDR* IPAddr,
        TCPIP_MAC_ADDR* MACAddr
    );

## Description

This function checks if an ARP request has been resolved yet, and if so, stores the resolved MAC address in the pointer provided.

## Preconditions

The ARP module should have been initialized.

## Parameters

Parameters | Description
--- | ---
hNet | Interface to use.
IPAddr | The IP address to be resolved. The address must be specified in network byte order (big endian).
MACAddr | A buffer to store the corresponding MAC address retrieved from the ARP query.

## Remarks

None.