Searched refs:addrIndex (Results 1 – 3 of 3) sorted by relevance
548 int addrIndex = getAddrIndex(addr); // 0-based index of the address in the subnet in getValidAddress() local551 final int lastByte = getAddrByIndex(addrIndex) & lastByteMask; in getValidAddress()554 addrIndex = (addrIndex + 2) % mNumAddresses; in getValidAddress()557 addrIndex = (addrIndex + 1) % mNumAddresses; in getValidAddress()561 if (addrIndex == 0 || addrIndex == mNumAddresses - 1) { in getValidAddress()563 addrIndex = 1; in getValidAddress()565 return getAddrByIndex(addrIndex); in getValidAddress()577 final int addrIndex = getAddrIndex(addr); in getNextAddress() local578 final int nextAddress = getAddrByIndex((addrIndex + 1) % mNumAddresses); in getNextAddress()602 final int addrIndex = hash % mNumAddresses; in getFirstClientAddress() local[all …]
238 for (int addrIndex = 0; addrIndex < numberOfAddrs; addrIndex++) { in skiptestDnsPerf()240 InetAddress addr = InetAddress.getByAddress(addressList.get(addrIndex)); in skiptestDnsPerf()247 InetAddress.getByAddress(addressList.get(addrIndex)); in skiptestDnsPerf()
687 static struct timespec get_timeout(ResState* statp, const res_params* params, const int addrIndex) { in get_timeout() argument689 msec = params->base_timeout_msec << addrIndex; in get_timeout()693 if (addrIndex > 0) { in get_timeout()