TianoCore EDK2 master
Loading...
Searching...
No Matches
Arp.h
Go to the documentation of this file.
1
18#ifndef __EFI_ARP_PROTOCOL_H__
19#define __EFI_ARP_PROTOCOL_H__
20
21#define EFI_ARP_SERVICE_BINDING_PROTOCOL_GUID \
22 { \
23 0xf44c00ee, 0x1f2c, 0x4a00, {0xaa, 0x9, 0x1c, 0x9f, 0x3e, 0x8, 0x0, 0xa3 } \
24 }
25
26#define EFI_ARP_PROTOCOL_GUID \
27 { \
28 0xf4b427bb, 0xba21, 0x4f16, {0xbc, 0x4e, 0x43, 0xe4, 0x16, 0xab, 0x61, 0x9c } \
29 }
30
32
33typedef struct {
37 UINT32 Size;
38
43 BOOLEAN DenyFlag;
44
49 BOOLEAN StaticFlag;
50
55
60
65
71
72typedef struct {
77
82
90
97
103
111
140typedef
142(EFIAPI *EFI_ARP_CONFIGURE)(
143 IN EFI_ARP_PROTOCOL *This,
145 );
146
192typedef
194(EFIAPI *EFI_ARP_ADD)(
195 IN EFI_ARP_PROTOCOL *This,
196 IN BOOLEAN DenyFlag,
197 IN VOID *TargetSwAddress OPTIONAL,
198 IN VOID *TargetHwAddress OPTIONAL,
199 IN UINT32 TimeoutValue,
200 IN BOOLEAN Overwrite
201 );
202
237typedef
239(EFIAPI *EFI_ARP_FIND)(
240 IN EFI_ARP_PROTOCOL *This,
241 IN BOOLEAN BySwAddress,
242 IN VOID *AddressBuffer OPTIONAL,
243 OUT UINT32 *EntryLength OPTIONAL,
244 OUT UINT32 *EntryCount OPTIONAL,
246 IN BOOLEAN Refresh
247 );
248
266typedef
268(EFIAPI *EFI_ARP_DELETE)(
269 IN EFI_ARP_PROTOCOL *This,
270 IN BOOLEAN BySwAddress,
271 IN VOID *AddressBuffer OPTIONAL
272 );
273
286typedef
288(EFIAPI *EFI_ARP_FLUSH)(
289 IN EFI_ARP_PROTOCOL *This
290 );
291
314typedef
316(EFIAPI *EFI_ARP_REQUEST)(
317 IN EFI_ARP_PROTOCOL *This,
318 IN VOID *TargetSwAddress OPTIONAL,
319 IN EFI_EVENT ResolvedEvent OPTIONAL,
320 OUT VOID *TargetHwAddress
321 );
322
351typedef
353(EFIAPI *EFI_ARP_CANCEL)(
354 IN EFI_ARP_PROTOCOL *This,
355 IN VOID *TargetSwAddress OPTIONAL,
356 IN EFI_EVENT ResolvedEvent OPTIONAL
357 );
358
364 EFI_ARP_CONFIGURE Configure;
365 EFI_ARP_ADD Add;
366 EFI_ARP_FIND Find;
367 EFI_ARP_DELETE Delete;
368 EFI_ARP_FLUSH Flush;
369 EFI_ARP_REQUEST Request;
370 EFI_ARP_CANCEL Cancel;
371};
372
373extern EFI_GUID gEfiArpServiceBindingProtocolGuid;
374extern EFI_GUID gEfiArpProtocolGuid;
375
376#endif
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)
Definition: Arp.h:239
EFI_STATUS(EFIAPI * EFI_ARP_CONFIGURE)(IN EFI_ARP_PROTOCOL *This, IN EFI_ARP_CONFIG_DATA *ConfigData OPTIONAL)
Definition: Arp.h:142
EFI_STATUS(EFIAPI * EFI_ARP_CANCEL)(IN EFI_ARP_PROTOCOL *This, IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL)
Definition: Arp.h:353
EFI_STATUS(EFIAPI * EFI_ARP_DELETE)(IN EFI_ARP_PROTOCOL *This, IN BOOLEAN BySwAddress, IN VOID *AddressBuffer OPTIONAL)
Definition: Arp.h:268
EFI_STATUS(EFIAPI * EFI_ARP_FLUSH)(IN EFI_ARP_PROTOCOL *This)
Definition: Arp.h:288
EFI_STATUS(EFIAPI * EFI_ARP_REQUEST)(IN EFI_ARP_PROTOCOL *This, IN VOID *TargetSwAddress OPTIONAL, IN EFI_EVENT ResolvedEvent OPTIONAL, OUT VOID *TargetHwAddress)
Definition: Arp.h:316
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)
Definition: Arp.h:194
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
UINT32 RetryCount
Definition: Arp.h:102
UINT32 RetryTimeOut
Definition: Arp.h:109
UINT16 SwAddressType
Definition: Arp.h:76
VOID * StationAddress
Definition: Arp.h:89
UINT8 SwAddressLength
Definition: Arp.h:81
UINT32 EntryTimeOut
Definition: Arp.h:96
UINT8 SwAddressLength
Definition: Arp.h:69
BOOLEAN DenyFlag
Definition: Arp.h:43
BOOLEAN StaticFlag
Definition: Arp.h:49
UINT8 HwAddressLength
Definition: Arp.h:64
UINT32 Size
Definition: Arp.h:37
UINT16 HwAddressType
Definition: Arp.h:54
UINT16 SwAddressType
Definition: Arp.h:59
Definition: Base.h:213