]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/Dhcp6Impl.h
MdeModulePkg-DxeCore: rename CoreGetMemoryMapPropertiesTable
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / Dhcp6Impl.h
index 0e206cd504ece25dfdd8631af05bf21afb745588..e3e755316318f747a0399c2ad055f643542920a3 100644 (file)
@@ -34,6 +34,7 @@
 #include <Library/UefiLib.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/NetLib.h>\r
+#include <Library/PrintLib.h>\r
 \r
 \r
 typedef struct _DHCP6_IA_CB    DHCP6_IA_CB;\r
@@ -245,9 +246,13 @@ struct _DHCP6_INSTANCE {
   EFI_DHCP6_PACKET              *AdSelect;\r
   UINT8                         AdPref;\r
   EFI_IPv6_ADDRESS              *Unicast;\r
-  EFI_STATUS                    UdpSts;\r
-  BOOLEAN                       InDestory;\r
+  volatile EFI_STATUS           UdpSts;\r
+  BOOLEAN                       InDestroy;\r
   BOOLEAN                       MediaPresent;\r
+  //\r
+  // StartTime is used to calculate the 'elapsed-time' option. Refer to RFC3315,\r
+  // the elapsed-time is amount of time since the client began its current DHCP transaction. \r
+  //\r
   UINT64                        StartTime;\r
 };\r
 \r
@@ -266,7 +271,6 @@ struct _DHCP6_SERVICE {
   UINT32                        Xid;\r
   LIST_ENTRY                    Child;\r
   UINTN                         NumOfChild;\r
-  BOOLEAN                       InDestory;\r
 };\r
 \r
 /**\r