Lines Matching refs:AddrCnt
438 UINT8 AddrCnt; in IfConfig6ParseManualAddressList() local
441 AddrCnt = 0; in IfConfig6ParseManualAddressList()
462 AddrCnt++; in IfConfig6ParseManualAddressList()
465 if (AddrCnt == 0) { in IfConfig6ParseManualAddressList()
469 AddrBuf = AllocateZeroPool (AddrCnt * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS)); in IfConfig6ParseManualAddressList()
472 AddrCnt = 0; in IfConfig6ParseManualAddressList()
494 AddrBuf[AddrCnt].IsAnycast = FALSE; in IfConfig6ParseManualAddressList()
495 AddrBuf[AddrCnt].PrefixLength = Prefix; in IfConfig6ParseManualAddressList()
496 IP6_COPY_ADDRESS (&AddrBuf[AddrCnt].Address, &Address); in IfConfig6ParseManualAddressList()
498 AddrCnt++; in IfConfig6ParseManualAddressList()
508 *BufSize = AddrCnt * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); in IfConfig6ParseManualAddressList()
541 UINT8 AddrCnt; in IfConfig6ParseGwDnsAddressList() local
543 AddrCnt = 0; in IfConfig6ParseGwDnsAddressList()
564 AddrCnt++; in IfConfig6ParseGwDnsAddressList()
567 if (AddrCnt == 0) { in IfConfig6ParseGwDnsAddressList()
571 AddrBuf = AllocateZeroPool (AddrCnt * sizeof (EFI_IPv6_ADDRESS)); in IfConfig6ParseGwDnsAddressList()
574 AddrCnt = 0; in IfConfig6ParseGwDnsAddressList()
589 IP6_COPY_ADDRESS (&AddrBuf[AddrCnt], &Address); in IfConfig6ParseGwDnsAddressList()
592 AddrCnt++; in IfConfig6ParseGwDnsAddressList()
602 *BufSize = AddrCnt * sizeof (EFI_IPv6_ADDRESS); in IfConfig6ParseGwDnsAddressList()