]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | pxe.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | PXE 2.1 Common Structures\r | |
19 | \r | |
20 | Revision History\r | |
21 | \r | |
22 | --*/\r | |
23 | \r | |
24 | #ifndef _PXE_H\r | |
25 | #define _PXE_H\r | |
26 | \r | |
27 | //\r | |
28 | // Packet definitions\r | |
29 | //\r | |
30 | typedef struct {\r | |
31 | UINT8 BootpOpcode;\r | |
32 | UINT8 BootpHwType;\r | |
33 | UINT8 BootpHwAddrLen;\r | |
34 | UINT8 BootpGateHops;\r | |
35 | UINT32 BootpIdent;\r | |
36 | UINT16 BootpSeconds;\r | |
37 | UINT16 BootpFlags;\r | |
38 | UINT8 BootpCiAddr[4];\r | |
39 | UINT8 BootpYiAddr[4];\r | |
40 | UINT8 BootpSiAddr[4];\r | |
41 | UINT8 BootpGiAddr[4];\r | |
42 | UINT8 BootpHwAddr[16];\r | |
43 | UINT8 BootpSrvName[64];\r | |
44 | UINT8 BootpBootFile[128];\r | |
45 | UINT32 DhcpMagik;\r | |
46 | UINT8 DhcpOptions[56];\r | |
47 | } EFI_PXE_BASE_CODE_DHCPV4_PACKET;\r | |
48 | \r | |
49 | typedef union {\r | |
50 | UINT8 Raw[1472];\r | |
51 | EFI_PXE_BASE_CODE_DHCPV4_PACKET Dhcpv4;\r | |
52 | \r | |
53 | //\r | |
54 | // EFI_PXE_BASE_CODE_DHCPV6_PACKET Dhcpv6;\r | |
55 | //\r | |
56 | } EFI_PXE_BASE_CODE_PACKET;\r | |
57 | \r | |
58 | #endif\r |