Lines Matching refs:Instance
527 // Move the addresses from the Ia of instance to the deprived Ia.
549 // Delete the deprived address from the instance Ia
814 @param[in] Instance The pointer to the Dhcp6 instance.
824 IN DHCP6_INSTANCE *Instance,
863 Set the elapsed time based on the given instance and the pointer to the
867 @param[in] Instance The pointer to the Dhcp6 instance.
873 IN DHCP6_INSTANCE *Instance
898 if (Instance->StartTime == 0) {
900 Instance->StartTime = CurrentStamp;
902 ElapsedTimeValue = CurrentStamp - Instance->StartTime;
1118 @param[in] Instance The pointer to DHCP6 Instance.
1132 IN DHCP6_INSTANCE *Instance,
1143 if (Instance->IaCb.Ia == NULL) {
1151 Dhcp6ParseAddrOption (Instance->IaCb.Ia, IaInnerOpt, IaInnerLen, &AddrNum, NULL);
1170 Ia->State = Instance->IaCb.Ia->State;
1172 CopyMem (&Ia->Descriptor, &Instance->Config->IaDescriptor, sizeof (EFI_DHCP6_IA_DESCRIPTOR));
1173 Dhcp6ParseAddrOption (Instance->IaCb.Ia, IaInnerOpt, IaInnerLen, &AddrNum, Ia->IaAddress);
1178 if (Instance->IaCb.Ia->ReplyPacket != NULL) {
1179 FreePool (Instance->IaCb.Ia->ReplyPacket);
1181 FreePool (Instance->IaCb.Ia);
1184 ZeroMem (&Instance->IaCb, sizeof (DHCP6_IA_CB));
1189 Instance->IaCb.Ia = Ia;
1195 Instance->IaCb.T1 = T1;
1196 Instance->IaCb.T2 = T2;
1197 Dhcp6CalculateLeaseTime (&Instance->IaCb);
1206 @param[in] Instance The pointer to DHCP6 Instance.
1214 IN DHCP6_INSTANCE *Instance
1220 Ia = Instance->IaCb.Ia;
1222 if ((Instance->CacheIa == NULL) && (Ia != NULL)) {
1228 Instance->CacheIa = AllocateZeroPool (IaSize);
1229 if (Instance->CacheIa == NULL) {
1232 CopyMem (Instance->CacheIa, Ia, IaSize);
1240 @param[in] Instance The pointer to DHCP6 instance.
1245 IN DHCP6_INSTANCE *Instance
1256 Ia = Instance->IaCb.Ia;
1257 CacheIa = Instance->CacheIa;
1286 FreePool (Instance->CacheIa);
1287 FreePool (Instance->IaCb.Ia);
1288 Instance->CacheIa = NULL;
1289 Instance->IaCb.Ia = NewIa;