diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-22 09:27:42 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-22 09:27:42 +0000 |
commit | 3ed785e9b66bce1f40509f257f0c6c41b747fc88 (patch) | |
tree | bc03e7171928f0c07a412b12d6c375bca7396144 /MdePkg/Include/Protocol | |
parent | aff8fb942c0432c5510f568cf45f959003629e57 (diff) | |
download | edk2-platforms-3ed785e9b66bce1f40509f257f0c6c41b747fc88.tar.xz |
apply for doxgen format comments.
move 2 structure around PXE Base Code Protocol from UefiPxe.h to PxeBaseCode.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6187 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol')
-rw-r--r-- | MdePkg/Include/Protocol/PxeBaseCode.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/PxeBaseCode.h b/MdePkg/Include/Protocol/PxeBaseCode.h index 615007535f..afc0b664df 100644 --- a/MdePkg/Include/Protocol/PxeBaseCode.h +++ b/MdePkg/Include/Protocol/PxeBaseCode.h @@ -182,6 +182,38 @@ typedef struct { UINT16 TransmitTimeout;
} EFI_PXE_BASE_CODE_MTFTP_INFO;
+///
+/// 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;
+
+
//
// PXE Base Code Mode structure
//
|