mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
323c8a9a68
commit
6e19836f22
|
@ -2,7 +2,7 @@
|
||||||
EFI PXE Base Code Protocol definitions, which is used to access PXE-compatible
|
EFI PXE Base Code Protocol definitions, which is used to access PXE-compatible
|
||||||
devices for network access and network booting.
|
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
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -218,15 +218,28 @@ typedef struct {
|
||||||
UINT8 DhcpOptions[56];
|
UINT8 DhcpOptions[56];
|
||||||
} EFI_PXE_BASE_CODE_DHCPV4_PACKET;
|
} 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
|
/// Packet structure
|
||||||
///
|
///
|
||||||
typedef union {
|
typedef union {
|
||||||
UINT8 Raw[1472];
|
UINT8 Raw[1472];
|
||||||
EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4;
|
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;
|
} EFI_PXE_BASE_CODE_PACKET;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue