Searched refs:linkAddr (Results 1 – 7 of 7) sorted by relevance
412 final LinkAddress linkAddr; in configureIPv4() local421 linkAddr = new LinkAddress(addr, prefixLen); in configureIPv4()422 ifcg.setLinkAddress(linkAddr); in configureIPv4()458 final RouteInfo route = new RouteInfo(linkAddr); in configureIPv4()460 mLinkProperties.addLinkAddress(linkAddr); in configureIPv4()463 mLinkProperties.removeLinkAddress(linkAddr); in configureIPv4()529 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()530 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()533 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
222 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()223 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()224 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
528 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()529 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()530 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()
286 LinkAddress linkAddr = new LinkAddress( in readIpConfigurations() local288 if (linkAddr.getAddress() instanceof Inet4Address && in readIpConfigurations()290 staticIpConfiguration.ipAddress = linkAddr; in readIpConfigurations()292 loge("Non-IPv4 or duplicate address: " + linkAddr); in readIpConfigurations()
196 LinkAddress linkAddr = in generateIpConfig() local199 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
274 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local275 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
814 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local815 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()