18#ifndef __EFI_ARP_PROTOCOL_H__
19#define __EFI_ARP_PROTOCOL_H__
24#define EFI_ARP_SERVICE_BINDING_PROTOCOL_GUID \
26 0xf44c00ee, 0x1f2c, 0x4a00, {0xaa, 0x9, 0x1c, 0x9f, 0x3e, 0x8, 0x0, 0xa3 } \
29#define EFI_ARP_PROTOCOL_GUID \
31 0xf4b427bb, 0xba21, 0x4f16, {0xbc, 0x4e, 0x43, 0xe4, 0x16, 0xab, 0x61, 0x9c } \
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
EFI_GUID gEfiArpServiceBindingProtocolGuid
EFI_GUID gEfiArpProtocolGuid
struct _EFI_ARP_PROTOCOL EFI_ARP_PROTOCOL
EFI_STATUS(EFIAPI * EFI_ARP_FIND)(IN EFI_ARP_PROTOCOL *This, IN BOOLEAN BySwAddress, IN VOID *AddressBuffer OPTIONAL, OUT UINT32 *EntryLength OPTIONAL, OUT UINT32 *EntryCount OPTIONAL, OUT EFI_ARP_FIND_DATA **Entries OPTIONAL, IN BOOLEAN Refresh)
This function searches the ARP cache for matching entries and allocates a buffer into which those ent...
EFI_STATUS(EFIAPI * EFI_ARP_CONFIGURE)(IN EFI_ARP_PROTOCOL *This, IN EFI_ARP_CONFIG_DATA *ConfigData OPTIONAL)
This function is used to assign a station address to the ARP cache for this instance of the ARP drive...
EFI_STATUS(EFIAPI * EFI_ARP_CANCEL)(IN EFI_ARP_PROTOCOL *This, IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL)
This function aborts the previous ARP request (identified by This, TargetSwAddress and ResolvedEvent)...
EFI_STATUS(EFIAPI * EFI_ARP_DELETE)(IN EFI_ARP_PROTOCOL *This, IN BOOLEAN BySwAddress, IN VOID *AddressBuffer OPTIONAL)
This function removes specified ARP cache entries.
EFI_STATUS(EFIAPI * EFI_ARP_FLUSH)(IN EFI_ARP_PROTOCOL *This)
This function delete all dynamic entries from the ARP cache that match the specified software protoco...
EFI_STATUS(EFIAPI * EFI_ARP_REQUEST)(IN EFI_ARP_PROTOCOL *This, IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL, OUT VOID *TargetHwAddress)
This function tries to resolve the TargetSwAddress and optionally returns a TargetHwAddress if it alr...
EFI_STATUS(EFIAPI * EFI_ARP_ADD)(IN EFI_ARP_PROTOCOL *This, IN BOOLEAN DenyFlag, IN VOID *TargetSwAddress OPTIONAL, IN VOID *TargetHwAddress OPTIONAL, IN UINT32 TimeoutValue, IN BOOLEAN Overwrite)
This function is used to insert entries into the ARP cache.
#define VOID
Undeclared type.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
UINT32 RetryCount
The number of retries before a MAC address is resolved.
UINT32 RetryTimeOut
The timeout value in 100-ns units that is used to wait for the ARP reply packet or the timeout value ...
UINT16 SwAddressType
16-bit protocol type number in host byte order.
VOID * StationAddress
The pointer to the first byte of the protocol address to register.
UINT8 SwAddressLength
The length in bytes of the station's protocol address to register.
UINT32 EntryTimeOut
The timeout value in 100-ns units that is associated with each new dynamic ARP cache entry.
UINT8 SwAddressLength
The length of the protocol address.
BOOLEAN DenyFlag
Set to TRUE if this entry is a "deny" entry.
BOOLEAN StaticFlag
Set to TRUE if this entry will not time out.
UINT8 HwAddressLength
The length of the hardware address.
UINT32 Size
Length in bytes of this entry.
UINT16 HwAddressType
16-bit ARP hardware identifier number.
UINT16 SwAddressType
16-bit protocol type number.
ARP is used to resolve local network protocol addresses into network hardware addresses.
EFI_ARP_CONFIGURE Configure