14.1.9 EFI_PXE_BASE_CODE.Arp()
Summary
Uses the ARP protocol to resolve a MAC address.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_ARP) (
IN EFI_PXE_BASE_CODE
IN EFI_IP_ADDRESS
IN EFI_MAC_ADDRESS
);
Parameters
This
IpAddr
MacAddr
Description
This function uses the ARP protocol to resolve a MAC address. The
EFI_PXE_BASE_CODE_MODE
used. The IP address specified by
succeeds in resolving the specified address, then the
of the
EFI_PXE_BASE_CODE_MODE
is not NULL, the resolved MAC address is placed there as well.
MacAddr
If the PXE Base Code protocol is in the stopped state, then
the ARP protocol encounters a timeout condition while attempting to resolve an address, then
is returned. If the Callback Protocol does not return
EFI_TIMEOUT
EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE, then
Status Codes Returned
EFI_SUCCESS
EFI_INVALID_PARAMETER
EFI_DEVICE_ERROR
EFI_NOT_STARTED
EFI_TIMEOUT
EFI_ABORTED
Version 1.02
Pointer to the
EFI_PXE_BASE_CODE
Pointer to the IP address that is used to resolve a MAC address. When
the MAC address is resolved, the
fields of the
EFI_PXE_BASE_CODE_MODE
If not NULL, a pointer to the MAC address that was resolved with the
ARP protocol.
structure is used to determine if IPv4 or IPv6 addresses are being
is used to resolve a MAC address. If the ARP protocol
IpAddr
structure are updated, and
The IP or MAC address was resolved.
One of the parameters is not valid.
The network device encountered an error during this operation.
The PXE Base Code Protocol is in the stopped state.
The ARP Protocol encountered a timeout condition.
The callback function aborted the ARP Protocol.
12/12/00
PXE Base Code Protocol
*This,
*IpAddr,
*MacAddr
instance.
ArpCacheEntries
structure are updated.
UsingIpv6
and
ArpCacheEntries
EFI_SUCCESS
EFI_NOT_STARTED
EFI_ABORTED
OPTIONAL
and
ArpCache
field of the
fields
ArpCache
is returned. If
is returned. If
is returned.
267
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?