13#ifndef __EFI_IP4CONFIG2_PROTOCOL_H__
14#define __EFI_IP4CONFIG2_PROTOCOL_H__
21#define EFI_IP4_CONFIG2_PROTOCOL_GUID \
23 0x5b446ed1, 0xe30b, 0x4faa, {0x87, 0x1a, 0x36, 0x54, 0xec, 0xa3, 0x60, 0x80 } \
84#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32
UINT64 UINTN
Unsigned value of native width.
unsigned short CHAR16
2-byte Character.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#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.
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)
Remove a previously registered event for the specified configuration data.
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)
Register an event that is to be signaled whenever a configuration process on the specified configurat...
struct _EFI_IP4_CONFIG2_PROTOCOL EFI_IP4_CONFIG2_PROTOCOL
EFI_IP4_CONFIG2_POLICY
EFI_IP4_CONFIG2_POLICY.
@ Ip4Config2PolicyDhcp
Under this policy, the Ip4Config2DataTypeManualAddress, Ip4Config2DataTypeGateway and Ip4Config2DataT...
@ Ip4Config2PolicyStatic
Under this policy, the Ip4Config2DataTypeManualAddress, Ip4Config2DataTypeGateway and Ip4Config2DataT...
EFI_IP4_CONFIG2_DATA_TYPE
EFI_IP4_CONFIG2_DATA_TYPE.
@ Ip4Config2DataTypeManualAddress
The station addresses set manually for the EFI IPv4 network stack.
@ Ip4Config2DataTypeGateway
The gateway addresses set manually for the EFI IPv4 network stack running on the communication device...
@ Ip4Config2DataTypePolicy
The general configuration policy for the EFI IPv4 network stack running on the communication device t...
@ Ip4Config2DataTypeMaximum
@ Ip4Config2DataTypeInterfaceInfo
The interface information of the communication device this EFI IPv4 Configuration II Protocol instanc...
@ Ip4Config2DataTypeDnsServer
The DNS server list for the EFI IPv4 network stack running on the communication device this EFI IPv4 ...
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)
Get the configuration data for the EFI IPv4 network stack running on the communication device this EF...
#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE
EFI_IP4_CONFIG2_INTERFACE_INFO related definitions.
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)
Set the configuration for the EFI IPv4 network stack running on the communication device this EFI IPv...
EFI_GUID gEfiIp4Config2ProtocolGuid
This file defines the EFI IPv4 (Internet Protocol version 4) Protocol interface.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
IPv4_ADDRESS EFI_IPv4_ADDRESS
4-byte buffer.
#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.
EFI_IP4_CONFIG2_INTERFACE_INFO.
UINT32 HwAddressSize
The size, in bytes, of the network interface's hardware address.
EFI_MAC_ADDRESS HwAddress
The hardware address for the network interface.
CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE]
The name of the interface.
EFI_IP4_ROUTE_TABLE *RouteTable OPTIONAL
The route table of the IPv4 network stack runs on this interface.
UINT8 IfType
The interface type of the network interface.
EFI_IPv4_ADDRESS SubnetMask
The subnet address mask that is associated with the station address.
UINT32 RouteTableSize
Size of the following RouteTable, in bytes.
EFI_IPv4_ADDRESS StationAddress
The station IPv4 address of this EFI IPv4 network stack.
EFI_IP4_CONFIG2_MANUAL_ADDRESS.
EFI_IPv4_ADDRESS SubnetMask
The subnet mask.
EFI_IPv4_ADDRESS Address
The IPv4 unicast address.
32-byte buffer containing a network Media Access Control address.
The EFI_IP4_CONFIG2_PROTOCOL is designed to be the central repository for the common configurations a...
EFI_IP4_CONFIG2_SET_DATA SetData
EFI_IP4_CONFIG2_GET_DATA GetData
EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify
EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify