]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Define EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over...
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Jan 2010 03:15:50 +0000 (03:15 +0000)
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Jan 2010 03:15:50 +0000 (03:15 +0000)
It's not consistent with the current UEFI2.3 spec, but it's supposed to updated in the next version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9802 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/PxeBaseCode.h

index b4b8f0b0e5f02c525ee16f7e72bf36e54cc78c78..f6b00d383cd7025b92063a8dd5b16b89f178af63 100644 (file)
@@ -2,7 +2,7 @@
   EFI PXE Base Code Protocol definitions, which is used to access PXE-compatible \r
   devices for network access and network booting.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2010, Intel Corporation                                                         \r
   All rights reserved. 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
@@ -218,15 +218,28 @@ typedef struct {
   UINT8   DhcpOptions[56];\r
 } EFI_PXE_BASE_CODE_DHCPV4_PACKET;\r
 \r
+///\r
+/// Note: EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET are not\r
+///       consistent with the current UEFI2.3 specification. It's supposed that\r
+///       they will be consistent in the next version.\r
+///\r
+\r
+///\r
+/// DHCPV6 Packet structure.\r
+///\r
+typedef struct {\r
+  UINT32  MessageType:8;\r
+  UINT32  TransactionId:24;\r
+  UINT8   DhcpOptions[1024];\r
+} EFI_PXE_BASE_CODE_DHCPV6_PACKET;\r
+\r
 ///\r
 /// Packet structure\r
 ///\r
 typedef union {\r
   UINT8                           Raw[1472];\r
   EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4;\r
-  //\r
-  //  EFI_PXE_BASE_CODE_DHCPV6_PACKET     Dhcpv6;\r
-  //\r
+  EFI_PXE_BASE_CODE_DHCPV6_PACKET Dhcpv6;\r
 } EFI_PXE_BASE_CODE_PACKET;\r
 \r
 //\r