Searched refs:linkAddr (Results 1 – 9 of 9) sorted by relevance
237 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()238 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()239 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
668 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()669 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()670 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()684 final LinkAddress linkAddr = new LinkAddress(destination.getAddress(), in shouldIgnoreDownstreamRoute() local686 if (!linkAddr.isGlobalPreferred()) return true; in shouldIgnoreDownstreamRoute()
125 LinkAddress linkAddr = new LinkAddress( in readIpConfigurations() local127 if (linkAddr.getAddress() instanceof Inet4Address) { in readIpConfigurations()128 staticIPBuilder.setIpAddress(linkAddr); in readIpConfigurations()
324 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local325 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()
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()
708 for (LinkAddress linkAddr : v6only.getLinkAddresses()) { in updateUpstreamIPv6LinkProperties()709 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()712 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
218 LinkAddress linkAddr = in generateIpConfig() local221 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
303 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local304 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
825 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local826 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()