Lines Matching refs:IaCb
387 IN DHCP6_IA_CB *IaCb in Dhcp6CalculateLeaseTime() argument
394 ASSERT (IaCb->Ia->IaAddressCount > 0); in Dhcp6CalculateLeaseTime()
403 for (Index = 0; Index < IaCb->Ia->IaAddressCount; Index++) { in Dhcp6CalculateLeaseTime()
404 MinLt = MIN (MinLt, IaCb->Ia->IaAddress[Index].ValidLifetime); in Dhcp6CalculateLeaseTime()
405 MaxLt = MAX (MinLt, IaCb->Ia->IaAddress[Index].ValidLifetime); in Dhcp6CalculateLeaseTime()
412 IaCb->T1 = (IaCb->T1 != 0) ? IaCb->T1 : (UINT32)(MinLt * 5 / 10); in Dhcp6CalculateLeaseTime()
413 IaCb->T2 = (IaCb->T2 != 0) ? IaCb->T2 : (UINT32)(MinLt * 8 / 10); in Dhcp6CalculateLeaseTime()
414 IaCb->AllExpireTime = MaxLt; in Dhcp6CalculateLeaseTime()
415 IaCb->LeaseTime = 0; in Dhcp6CalculateLeaseTime()
1143 if (Instance->IaCb.Ia == NULL) { in Dhcp6GenerateIaCb()
1151 Dhcp6ParseAddrOption (Instance->IaCb.Ia, IaInnerOpt, IaInnerLen, &AddrNum, NULL); in Dhcp6GenerateIaCb()
1170 Ia->State = Instance->IaCb.Ia->State; in Dhcp6GenerateIaCb()
1173 Dhcp6ParseAddrOption (Instance->IaCb.Ia, IaInnerOpt, IaInnerLen, &AddrNum, Ia->IaAddress); in Dhcp6GenerateIaCb()
1178 if (Instance->IaCb.Ia->ReplyPacket != NULL) { in Dhcp6GenerateIaCb()
1179 FreePool (Instance->IaCb.Ia->ReplyPacket); in Dhcp6GenerateIaCb()
1181 FreePool (Instance->IaCb.Ia); in Dhcp6GenerateIaCb()
1184 ZeroMem (&Instance->IaCb, sizeof (DHCP6_IA_CB)); in Dhcp6GenerateIaCb()
1189 Instance->IaCb.Ia = Ia; in Dhcp6GenerateIaCb()
1195 Instance->IaCb.T1 = T1; in Dhcp6GenerateIaCb()
1196 Instance->IaCb.T2 = T2; in Dhcp6GenerateIaCb()
1197 Dhcp6CalculateLeaseTime (&Instance->IaCb); in Dhcp6GenerateIaCb()
1220 Ia = Instance->IaCb.Ia; in Dhcp6CacheIa()
1256 Ia = Instance->IaCb.Ia; in Dhcp6AppendCacheIa()
1287 FreePool (Instance->IaCb.Ia); in Dhcp6AppendCacheIa()
1289 Instance->IaCb.Ia = NewIa; in Dhcp6AppendCacheIa()