/** @file\r
Dhcp6 internal data structure and definition declaration.\r
\r
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
#include <Protocol/Dhcp6.h>\r
#include <Protocol/Udp6.h>\r
+#include <Protocol/Ip6Config.h>\r
#include <Protocol/ServiceBinding.h>\r
#include <Protocol/DriverBinding.h>\r
\r
#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
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
EFI_HANDLE Image;\r
EFI_SERVICE_BINDING_PROTOCOL ServiceBinding;\r
EFI_SIMPLE_NETWORK_PROTOCOL *Snp;\r
+ EFI_IP6_CONFIG_PROTOCOL *Ip6Cfg;\r
EFI_DHCP6_DUID *ClientId;\r
UDP_IO *UdpIo;\r
UINT32 Xid;\r
LIST_ENTRY Child;\r
UINTN NumOfChild;\r
- BOOLEAN InDestory;\r
};\r
\r
/**\r