18 #ifndef __EFI_ARP_PROTOCOL_H__ 19 #define __EFI_ARP_PROTOCOL_H__ 23 #define EFI_ARP_SERVICE_BINDING_PROTOCOL_GUID \ 25 0xf44c00ee, 0x1f2c, 0x4a00, {0xaa, 0x9, 0x1c, 0x9f, 0x3e, 0x8, 0x0, 0xa3 } \ 28 #define EFI_ARP_PROTOCOL_GUID \ 30 0xf4b427bb, 0xba21, 0x4f16, {0xbc, 0x4e, 0x43, 0xe4, 0x16, 0xab, 0x61, 0x9c } \ #define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
ARP is used to resolve local network protocol addresses into network hardware addresses.
UINT8 SwAddressLength
The length in bytes of the station's protocol address to register.
UINT8 HwAddressLength
The length of the hardware address.
VOID * StationAddress
The pointer to the first byte of the protocol address to register.
128 bit buffer containing a unique identifier value.
VOID * EFI_EVENT
Handle to an event structure.
UINT8 SwAddressLength
The length of the protocol address.
UINT32 RetryTimeOut
The timeout value in 100-ns units that is used to wait for the ARP reply packet or the timeout value ...
BOOLEAN StaticFlag
Set to TRUE if this entry will not time out.
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.
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)...
UINT32 RetryCount
The number of retries before a MAC address is resolved.
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_ARP_CONFIGURE Configure
UINT16 HwAddressType
16-bit ARP hardware identifier number.
#define VOID
Undeclared type.
UINT32 EntryTimeOut
The timeout value in 100-ns units that is associated with each new dynamic ARP cache entry.
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...
UINT16 SwAddressType
16-bit protocol type number in host byte order.
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...
BOOLEAN DenyFlag
Set to TRUE if this entry is a "deny" entry.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
UINT32 Size
Length in bytes of this entry.
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_GUID gEfiArpProtocolGuid
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.
UINT16 SwAddressType
16-bit protocol type number.
EFI_GUID gEfiArpServiceBindingProtocolGuid
FILE_LICENCE(BSD2_PATENT)