This Protocol is introduced in UEFI Specification 2.5\r
\r
**/\r
+\r
#ifndef __EFI_IP4CONFIG2_PROTOCOL_H__\r
#define __EFI_IP4CONFIG2_PROTOCOL_H__\r
\r
\r
typedef struct _EFI_IP4_CONFIG2_PROTOCOL EFI_IP4_CONFIG2_PROTOCOL;\r
\r
-\r
///\r
/// EFI_IP4_CONFIG2_DATA_TYPE\r
///\r
///\r
/// EFI_IP4_CONFIG2_INTERFACE_INFO related definitions\r
///\r
-#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32\r
+#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32\r
\r
///\r
/// EFI_IP4_CONFIG2_INTERFACE_INFO\r
///\r
/// The name of the interface. It is a NULL-terminated Unicode string.\r
///\r
- CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE];\r
+ CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE];\r
///\r
/// The interface type of the network interface. See RFC 1700,\r
/// section "Number Hardware Type".\r
///\r
- UINT8 IfType;\r
+ UINT8 IfType;\r
///\r
/// The size, in bytes, of the network interface's hardware address.\r
///\r
- UINT32 HwAddressSize;\r
+ UINT32 HwAddressSize;\r
///\r
/// The hardware address for the network interface.\r
///\r
- EFI_MAC_ADDRESS HwAddress;\r
+ EFI_MAC_ADDRESS HwAddress;\r
///\r
/// The station IPv4 address of this EFI IPv4 network stack.\r
///\r
- EFI_IPv4_ADDRESS StationAddress;\r
+ EFI_IPv4_ADDRESS StationAddress;\r
///\r
/// The subnet address mask that is associated with the station address.\r
///\r
- EFI_IPv4_ADDRESS SubnetMask;\r
+ EFI_IPv4_ADDRESS SubnetMask;\r
///\r
/// Size of the following RouteTable, in bytes. May be zero.\r
///\r
- UINT32 RouteTableSize;\r
+ UINT32 RouteTableSize;\r
///\r
/// The route table of the IPv4 network stack runs on this interface.\r
/// Set to NULL if RouteTableSize is zero. Type EFI_IP4_ROUTE_TABLE is defined in\r
///\r
/// The IPv4 unicast address.\r
///\r
- EFI_IPv4_ADDRESS Address;\r
+ EFI_IPv4_ADDRESS Address;\r
///\r
/// The subnet mask.\r
///\r
- EFI_IPv4_ADDRESS SubnetMask;\r
+ EFI_IPv4_ADDRESS SubnetMask;\r
} EFI_IP4_CONFIG2_MANUAL_ADDRESS;\r
\r
/**\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG2_SET_DATA) (\r
+(EFIAPI *EFI_IP4_CONFIG2_SET_DATA)(\r
IN EFI_IP4_CONFIG2_PROTOCOL *This,\r
IN EFI_IP4_CONFIG2_DATA_TYPE DataType,\r
IN UINTN DataSize,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG2_GET_DATA) (\r
+(EFIAPI *EFI_IP4_CONFIG2_GET_DATA)(\r
IN EFI_IP4_CONFIG2_PROTOCOL *This,\r
IN EFI_IP4_CONFIG2_DATA_TYPE DataType,\r
IN OUT UINTN *DataSize,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG2_REGISTER_NOTIFY) (\r
+(EFIAPI *EFI_IP4_CONFIG2_REGISTER_NOTIFY)(\r
IN EFI_IP4_CONFIG2_PROTOCOL *This,\r
IN EFI_IP4_CONFIG2_DATA_TYPE DataType,\r
IN EFI_EVENT Event\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_IP4_CONFIG2_UNREGISTER_NOTIFY) (\r
+(EFIAPI *EFI_IP4_CONFIG2_UNREGISTER_NOTIFY)(\r
IN EFI_IP4_CONFIG2_PROTOCOL *This,\r
IN EFI_IP4_CONFIG2_DATA_TYPE DataType,\r
IN EFI_EVENT Event\r
/// the EFI IPv4 network stack runs on.\r
///\r
struct _EFI_IP4_CONFIG2_PROTOCOL {\r
- EFI_IP4_CONFIG2_SET_DATA SetData;\r
- EFI_IP4_CONFIG2_GET_DATA GetData;\r
- EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify;\r
- EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify;\r
+ EFI_IP4_CONFIG2_SET_DATA SetData;\r
+ EFI_IP4_CONFIG2_GET_DATA GetData;\r
+ EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify;\r
+ EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify;\r
};\r
\r
-extern EFI_GUID gEfiIp4Config2ProtocolGuid;\r
+extern EFI_GUID gEfiIp4Config2ProtocolGuid;\r
\r
#endif\r
-\r