Lines Matching refs:IaAddressCount
394 ASSERT (IaCb->Ia->IaAddressCount > 0); in Dhcp6CalculateLeaseTime()
403 for (Index = 0; Index < IaCb->Ia->IaAddressCount; Index++) { in Dhcp6CalculateLeaseTime()
449 for (Index2 = 0; Index2 < Ia->IaAddressCount; Index2++) { in Dhcp6CheckAddress()
499 AddressCount = Ia->IaAddressCount; in Dhcp6DepriveAddress()
511 if (AddressCount == Ia->IaAddressCount) { in Dhcp6DepriveAddress()
520 Ia->IaAddressCount = 0; in Dhcp6DepriveAddress()
533 for (Index2 = 0; Index2 < Ia->IaAddressCount; Index2++) { in Dhcp6DepriveAddress()
551 if (Index2 + 1 < Ia->IaAddressCount) { in Dhcp6DepriveAddress()
555 (Ia->IaAddressCount - Index2 - 1) * sizeof (EFI_DHCP6_IA_ADDRESS) in Dhcp6DepriveAddress()
565 Ia->IaAddressCount -= AddressCount; in Dhcp6DepriveAddress()
566 IaCopy->IaAddressCount = AddressCount; in Dhcp6DepriveAddress()
797 for (Index = 0; Index < Ia->IaAddressCount; Index++) { in Dhcp6AppendIaOption()
1023 for (Index = 0; Index < CurrentIa->IaAddressCount; Index++) { in Dhcp6AddrIsInCurrentIa()
1171 Ia->IaAddressCount = AddrNum; in Dhcp6GenerateIaCb()
1226 IaSize = sizeof (EFI_DHCP6_IA) + (Ia->IaAddressCount - 1) * sizeof (EFI_DHCP6_IA_ADDRESS); in Dhcp6CacheIa()
1259 if ((CacheIa != NULL) && (CacheIa->IaAddressCount != 0)) { in Dhcp6AppendCacheIa()
1263 …NewIaSize = sizeof (EFI_DHCP6_IA) + (Ia->IaAddressCount + CacheIa->IaAddressCount - 1) * sizeof (E… in Dhcp6AppendCacheIa()
1269 IaSize = sizeof (EFI_DHCP6_IA) + (Ia->IaAddressCount - 1) * sizeof (EFI_DHCP6_IA_ADDRESS); in Dhcp6AppendCacheIa()
1275 for (Index = 0; Index < CacheIa->IaAddressCount; Index++) { in Dhcp6AppendCacheIa()
1279 NewIa->IaAddressCount += CacheIa->IaAddressCount; in Dhcp6AppendCacheIa()
1280 Ptr = (UINT8*)&NewIa->IaAddress[Ia->IaAddressCount]; in Dhcp6AppendCacheIa()
1281 CopyMem (Ptr, CacheIa->IaAddress, CacheIa->IaAddressCount * sizeof (EFI_DHCP6_IA_ADDRESS)); in Dhcp6AppendCacheIa()