summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-25 03:15:50 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-25 03:15:50 +0000
commit6e19836f223add173ee5bd82339b4c243869e9b9 (patch)
treef6c09d474119811d6a465ab6f7a61a27036865e2 /MdePkg/Include
parent323c8a9a68e3f04a5cc4cf6cf444479272bf3803 (diff)
downloadedk2-6e19836f223add173ee5bd82339b4c243869e9b9.zip
edk2-6e19836f223add173ee5bd82339b4c243869e9b9.tar.gz
edk2-6e19836f223add173ee5bd82339b4c243869e9b9.tar.bz2
Define EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET for PXE over IPv6.
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
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Protocol/PxeBaseCode.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/MdePkg/Include/Protocol/PxeBaseCode.h b/MdePkg/Include/Protocol/PxeBaseCode.h
index b4b8f0b..f6b00d3 100644
--- a/MdePkg/Include/Protocol/PxeBaseCode.h
+++ b/MdePkg/Include/Protocol/PxeBaseCode.h
@@ -2,7 +2,7 @@
EFI PXE Base Code Protocol definitions, which is used to access PXE-compatible
devices for network access and network booting.
- Copyright (c) 2006 - 2009, Intel Corporation
+ Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -219,14 +219,27 @@ typedef struct {
} EFI_PXE_BASE_CODE_DHCPV4_PACKET;
///
+/// Note: EFI_PXE_BASE_CODE_DHCPV6_PACKET and EFI_PXE_BASE_CODE_PACKET are not
+/// consistent with the current UEFI2.3 specification. It's supposed that
+/// they will be consistent in the next version.
+///
+
+///
+/// DHCPV6 Packet structure.
+///
+typedef struct {
+ UINT32 MessageType:8;
+ UINT32 TransactionId:24;
+ UINT8 DhcpOptions[1024];
+} EFI_PXE_BASE_CODE_DHCPV6_PACKET;
+
+///
/// Packet structure
///
typedef union {
UINT8 Raw[1472];
EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4;
- //
- // EFI_PXE_BASE_CODE_DHCPV6_PACKET Dhcpv6;
- //
+ EFI_PXE_BASE_CODE_DHCPV6_PACKET Dhcpv6;
} EFI_PXE_BASE_CODE_PACKET;
//