diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Efi/Include/Pxe.h')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Efi/Include/Pxe.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Efi/Include/Pxe.h b/EdkCompatibilityPkg/Foundation/Efi/Include/Pxe.h new file mode 100644 index 0000000000..ee0ca1f0e7 --- /dev/null +++ b/EdkCompatibilityPkg/Foundation/Efi/Include/Pxe.h @@ -0,0 +1,58 @@ +/*++
+
+Copyright (c) 2004, 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
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+Module Name:
+
+ pxe.h
+
+Abstract:
+
+ PXE 2.1 Common Structures
+
+Revision History
+
+--*/
+
+#ifndef _PXE_H
+#define _PXE_H
+
+//
+// Packet definitions
+//
+typedef struct {
+ UINT8 BootpOpcode;
+ UINT8 BootpHwType;
+ UINT8 BootpHwAddrLen;
+ UINT8 BootpGateHops;
+ UINT32 BootpIdent;
+ UINT16 BootpSeconds;
+ UINT16 BootpFlags;
+ UINT8 BootpCiAddr[4];
+ UINT8 BootpYiAddr[4];
+ UINT8 BootpSiAddr[4];
+ UINT8 BootpGiAddr[4];
+ UINT8 BootpHwAddr[16];
+ UINT8 BootpSrvName[64];
+ UINT8 BootpBootFile[128];
+ UINT32 DhcpMagik;
+ UINT8 DhcpOptions[56];
+} EFI_PXE_BASE_CODE_DHCPV4_PACKET;
+
+typedef union {
+ UINT8 Raw[1472];
+ EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4;
+
+ //
+ // EFI_PXE_BASE_CODE_DHCPV6_PACKET Dhcpv6;
+ //
+} EFI_PXE_BASE_CODE_PACKET;
+
+#endif
|