X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FIp4Config2.h;h=b824567927cee906924170dec8ba455e0ff90cb2;hb=2f88bd3a1296c522317f1c21377876de63de5be7;hp=7ba2d6c1ab8a40026ee4c4d6e25f1634ff330c5b;hpb=1436aea4d5707e672672a11bda72be2c63c936c3;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/Ip4Config2.h b/MdePkg/Include/Protocol/Ip4Config2.h index 7ba2d6c1ab..b824567927 100644 --- a/MdePkg/Include/Protocol/Ip4Config2.h +++ b/MdePkg/Include/Protocol/Ip4Config2.h @@ -9,6 +9,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent This Protocol is introduced in UEFI Specification 2.5 **/ + #ifndef __EFI_IP4CONFIG2_PROTOCOL_H__ #define __EFI_IP4CONFIG2_PROTOCOL_H__ @@ -21,7 +22,6 @@ This Protocol is introduced in UEFI Specification 2.5 typedef struct _EFI_IP4_CONFIG2_PROTOCOL EFI_IP4_CONFIG2_PROTOCOL; - /// /// EFI_IP4_CONFIG2_DATA_TYPE /// @@ -78,7 +78,7 @@ typedef enum { /// /// EFI_IP4_CONFIG2_INTERFACE_INFO related definitions /// -#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32 +#define EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE 32 /// /// EFI_IP4_CONFIG2_INTERFACE_INFO @@ -87,32 +87,32 @@ typedef struct { /// /// The name of the interface. It is a NULL-terminated Unicode string. /// - CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE]; + CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE]; /// /// The interface type of the network interface. See RFC 1700, /// section "Number Hardware Type". /// - UINT8 IfType; + UINT8 IfType; /// /// The size, in bytes, of the network interface's hardware address. /// - UINT32 HwAddressSize; + UINT32 HwAddressSize; /// /// The hardware address for the network interface. /// - EFI_MAC_ADDRESS HwAddress; + EFI_MAC_ADDRESS HwAddress; /// /// The station IPv4 address of this EFI IPv4 network stack. /// - EFI_IPv4_ADDRESS StationAddress; + EFI_IPv4_ADDRESS StationAddress; /// /// The subnet address mask that is associated with the station address. /// - EFI_IPv4_ADDRESS SubnetMask; + EFI_IPv4_ADDRESS SubnetMask; /// /// Size of the following RouteTable, in bytes. May be zero. /// - UINT32 RouteTableSize; + UINT32 RouteTableSize; /// /// The route table of the IPv4 network stack runs on this interface. /// Set to NULL if RouteTableSize is zero. Type EFI_IP4_ROUTE_TABLE is defined in @@ -150,11 +150,11 @@ typedef struct { /// /// The IPv4 unicast address. /// - EFI_IPv4_ADDRESS Address; + EFI_IPv4_ADDRESS Address; /// /// The subnet mask. /// - EFI_IPv4_ADDRESS SubnetMask; + EFI_IPv4_ADDRESS SubnetMask; } EFI_IP4_CONFIG2_MANUAL_ADDRESS; /** @@ -200,7 +200,7 @@ typedef struct { **/ typedef EFI_STATUS -(EFIAPI *EFI_IP4_CONFIG2_SET_DATA) ( +(EFIAPI *EFI_IP4_CONFIG2_SET_DATA)( IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN UINTN DataSize, @@ -242,7 +242,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_IP4_CONFIG2_GET_DATA) ( +(EFIAPI *EFI_IP4_CONFIG2_GET_DATA)( IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN OUT UINTN *DataSize, @@ -271,7 +271,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_IP4_CONFIG2_REGISTER_NOTIFY) ( +(EFIAPI *EFI_IP4_CONFIG2_REGISTER_NOTIFY)( IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN EFI_EVENT Event @@ -292,7 +292,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_IP4_CONFIG2_UNREGISTER_NOTIFY) ( +(EFIAPI *EFI_IP4_CONFIG2_UNREGISTER_NOTIFY)( IN EFI_IP4_CONFIG2_PROTOCOL *This, IN EFI_IP4_CONFIG2_DATA_TYPE DataType, IN EFI_EVENT Event @@ -305,13 +305,12 @@ EFI_STATUS /// the EFI IPv4 network stack runs on. /// struct _EFI_IP4_CONFIG2_PROTOCOL { - EFI_IP4_CONFIG2_SET_DATA SetData; - EFI_IP4_CONFIG2_GET_DATA GetData; - EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify; - EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify; + EFI_IP4_CONFIG2_SET_DATA SetData; + EFI_IP4_CONFIG2_GET_DATA GetData; + EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify; + EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify; }; -extern EFI_GUID gEfiIp4Config2ProtocolGuid; +extern EFI_GUID gEfiIp4Config2ProtocolGuid; #endif -