/*++\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
\r
Abstract:\r
\r
- UEFI IPv4 protocol.\r
+ EFI_IP4_PROTOCOL definition in UEFI 2.2 specification.\r
\r
--*/\r
\r
//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
\r
typedef struct {\r
BOOLEAN IsStarted;\r
-\r
+ UINT32 MaxPacketSize;\r
+ \r
EFI_IP4_CONFIG_DATA ConfigData;\r
BOOLEAN IsConfigured;\r
\r
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
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