Searched refs:linkAddr (Results 1 – 7 of 7) sorted by relevance
217 final LinkAddress linkAddr; in configureIPv4() local226 linkAddr = new LinkAddress(addr, prefixLen); in configureIPv4()227 ifcg.setLinkAddress(linkAddr); in configureIPv4()248 final RouteInfo route = new RouteInfo(linkAddr); in configureIPv4()250 mLinkProperties.addLinkAddress(linkAddr); in configureIPv4()253 mLinkProperties.removeLinkAddress(linkAddr); in configureIPv4()317 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()318 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()321 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()
177 LinkAddress linkAddr = in generateIpConfig() local180 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
1051 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local1052 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()1057 linkAddr.getAddress().getHostAddress(), in setInterfaceConfig()1058 linkAddr.getPrefixLength()); in setInterfaceConfig()
273 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local274 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()