TianoCore EDK2 master
Loading...
Searching...
No Matches
Ip4Config2.h
Go to the documentation of this file.
1
13#ifndef __EFI_IP4CONFIG2_PROTOCOL_H__
14#define __EFI_IP4CONFIG2_PROTOCOL_H__
15
16#include <Protocol/Ip4.h>
17
18#define EFI_IP4_CONFIG2_PROTOCOL_GUID \
19 { \
20 0x5b446ed1, 0xe30b, 0x4faa, {0x87, 0x1a, 0x36, 0x54, 0xec, 0xa3, 0x60, 0x80 } \
21 }
22
24
28typedef enum {
75 Ip4Config2DataTypeMaximum
77
81#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32
82
86typedef struct {
95 UINT8 IfType;
123
127typedef enum {
143 Ip4Config2PolicyMax
145
149typedef struct {
159
201typedef
206 IN UINTN DataSize,
207 IN VOID *Data
208 );
209
243typedef
248 IN OUT UINTN *DataSize,
249 IN VOID *Data OPTIONAL
250 );
251
272typedef
277 IN EFI_EVENT Event
278 );
279
293typedef
298 IN EFI_EVENT Event
299 );
300
310 EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify;
311 EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify;
312};
313
314extern EFI_GUID gEfiIp4Config2ProtocolGuid;
315
316#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_IP4_CONFIG2_UNREGISTER_NOTIFY)(IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN EFI_EVENT Event)
Definition: Ip4Config2.h:295
EFI_STATUS(EFIAPI * EFI_IP4_CONFIG2_REGISTER_NOTIFY)(IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN EFI_EVENT Event)
Definition: Ip4Config2.h:274
EFI_IP4_CONFIG2_POLICY
Definition: Ip4Config2.h:127
@ Ip4Config2PolicyDhcp
Definition: Ip4Config2.h:142
@ Ip4Config2PolicyStatic
Definition: Ip4Config2.h:135
EFI_IP4_CONFIG2_DATA_TYPE
Definition: Ip4Config2.h:28
@ Ip4Config2DataTypeManualAddress
Definition: Ip4Config2.h:52
@ Ip4Config2DataTypeGateway
Definition: Ip4Config2.h:63
@ Ip4Config2DataTypePolicy
Definition: Ip4Config2.h:43
@ Ip4Config2DataTypeInterfaceInfo
Definition: Ip4Config2.h:35
@ Ip4Config2DataTypeDnsServer
Definition: Ip4Config2.h:74
EFI_STATUS(EFIAPI * EFI_IP4_CONFIG2_GET_DATA)(IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN OUT UINTN *DataSize, IN VOID *Data OPTIONAL)
Definition: Ip4Config2.h:245
#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE
Definition: Ip4Config2.h:81
EFI_STATUS(EFIAPI * EFI_IP4_CONFIG2_SET_DATA)(IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN UINTN DataSize, IN VOID *Data)
Definition: Ip4Config2.h:203
#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
EFI_IP4_ROUTE_TABLE *RouteTable OPTIONAL
Definition: Ip4Config2.h:121
EFI_IPv4_ADDRESS SubnetMask
Definition: Ip4Config2.h:111
EFI_IPv4_ADDRESS StationAddress
Definition: Ip4Config2.h:107
EFI_IPv4_ADDRESS SubnetMask
Definition: Ip4Config2.h:157
Definition: Base.h:213