![Intel Extensible Firmware Interface Specification Download Page 285](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117285.webp)
PXE Base Code Protocol
Version 1.02
12/12/00
267
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
*This,
IN EFI_IP_ADDRESS
*IpAddr,
IN EFI_MAC_ADDRESS
*MacAddr
OPTIONAL
);
Parameters
This
Pointer to the
EFI_PXE_BASE_CODE
instance.
IpAddr
Pointer to the IP address that is used to resolve a MAC address. When
the MAC address is resolved, the
ArpCacheEntries
and
ArpCache
fields of the
EFI_PXE_BASE_CODE_MODE
structure are updated.
MacAddr
If not
NULL
, a pointer to the MAC address that was resolved with the
ARP protocol.
Description
This function uses the ARP protocol to resolve a MAC address. The
UsingIpv6
field of the
EFI_PXE_BASE_CODE_MODE
structure is used to determine if IPv4 or IPv6 addresses are being
used. The IP address specified by
IpAddr
is used to resolve a MAC address. If the ARP protocol
succeeds in resolving the specified address, then the
ArpCacheEntries
and
ArpCache
fields
of the
EFI_PXE_BASE_CODE_MODE
structure are updated, and
EFI_SUCCESS
is returned. If
MacAddr
is not
NULL
, the resolved MAC address is placed there as well.
If the PXE Base Code protocol is in the stopped state, then
EFI_NOT_STARTED
is returned. If
the ARP protocol encounters a timeout condition while attempting to resolve an address, then
EFI_TIMEOUT
is returned. If the Callback Protocol does not return
EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE
, then
EFI_ABORTED
is returned.
Status Codes Returned
EFI_SUCCESS
The IP or MAC address was resolved.
EFI_INVALID_PARAMETER
One of the parameters is not valid.
EFI_DEVICE_ERROR
The network device encountered an error during this operation.
EFI_NOT_STARTED
The PXE Base Code Protocol is in the stopped state.
EFI_TIMEOUT
The ARP Protocol encountered a timeout condition.
EFI_ABORTED
The callback function aborted the ARP Protocol.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...