]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/Ip4.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Efi / Protocol / Ip4 / Ip4.h
index a2daf6fdd73f9e211088495d4fab0a9f3d3bc146..3e315c0bb23fcfedf5b6a03df58b8b49ba3e9740 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005 - 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -15,7 +15,7 @@ Module Name:
 \r
 Abstract:\r
 \r
-  UEFI IPv4 protocol.\r
+  EFI_IP4_PROTOCOL definition in UEFI 2.2 specification.\r
 \r
 --*/\r
 \r
@@ -29,10 +29,10 @@ Abstract:
 //GUID definitions\r
 //\r
 #define EFI_IP4_SERVICE_BINDING_PROTOCOL_GUID \\r
-   {0xc51711e7, 0xb4bf, 0x404a, 0xbf, 0xb8, 0x0a, 0x04, 0x8e, 0xf1, 0xff, 0xe4}\r
+   {0xc51711e7, 0xb4bf, 0x404a, {0xbf, 0xb8, 0x0a, 0x04, 0x8e, 0xf1, 0xff, 0xe4}}\r
 \r
 #define EFI_IP4_PROTOCOL_GUID \\r
-   {0x41d94cd2, 0x35b6, 0x455a, 0x82, 0x58, 0xd4, 0xe5, 0x13, 0x34, 0xaa, 0xdd}\r
+   {0x41d94cd2, 0x35b6, 0x455a, {0x82, 0x58, 0xd4, 0xe5, 0x13, 0x34, 0xaa, 0xdd}}\r
 \r
 EFI_FORWARD_DECLARATION (EFI_IP4_PROTOCOL);\r
 \r
@@ -79,7 +79,8 @@ typedef struct _EFI_IP4_ICMP_TYPE {
 \r
 typedef struct {\r
   BOOLEAN                 IsStarted;\r
-\r
+  UINT32                  MaxPacketSize;\r
+  \r
   EFI_IP4_CONFIG_DATA     ConfigData;\r
   BOOLEAN                 IsConfigured;\r
 \r
@@ -223,7 +224,7 @@ EFI_STATUS
   IN EFI_IP4_PROTOCOL           *This\r
   );\r
 \r
-typedef struct _EFI_IP4_PROTOCOL {\r
+struct _EFI_IP4_PROTOCOL {\r
   EFI_IP4_GET_MODE_DATA         GetModeData;\r
   EFI_IP4_CONFIGURE             Configure;\r
   EFI_IP4_GROUPS                Groups;\r
@@ -232,7 +233,7 @@ typedef struct _EFI_IP4_PROTOCOL {
   EFI_IP4_RECEIVE               Receive;\r
   EFI_IP4_CANCEL                Cancel;\r
   EFI_IP4_POLL                  Poll;\r
-} EFI_IP4_PROTOCOL;\r
+};\r
 \r
 \r
 extern EFI_GUID gEfiIp4ServiceBindingProtocolGuid;\r