Searched refs:linkAddr (Results 1 – 11 of 11) sorted by relevance
238 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties()239 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()240 v6only.addLinkAddress(linkAddr); in getIPv6OnlyLinkProperties()
728 for (LinkAddress linkAddr : upstreamLinkProperties.getLinkAddresses()) { in computeLocalPrefixStrings()729 if (!linkAddr.isGlobalPreferred()) continue; in computeLocalPrefixStrings()730 final InetAddress ip = linkAddr.getAddress(); in computeLocalPrefixStrings()744 final LinkAddress linkAddr = new LinkAddress(destination.getAddress(), in shouldIgnoreDownstreamRoute() local746 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()
330 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig() local331 if (linkAddr == null || linkAddr.getAddress() == null) { in setInterfaceConfig()
126 for (LinkAddress linkAddr : linkProperties.getAllLinkAddresses()) { in getAllAddressesForNetwork()127 InetAddress inetAddr = linkAddr.getAddress(); in getAllAddressesForNetwork()
332 final LinkAddress linkAddr = new LinkAddress("192.0.2.2/25"); in testUpdateConfiguration() local334 new StaticIpConfiguration.Builder().setIpAddress(linkAddr).build(); in testUpdateConfiguration()
190 .map(linkAddr -> (Inet6Address) linkAddr.getAddress()) in tunInterface_joinedNetwork_otAndTunAddressesMatch()
1584 for (LinkAddress linkAddr : addrs) { in getTetherableIpv6Prefixes()1585 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in getTetherableIpv6Prefixes()1586 prefixes.add(new IpPrefix(linkAddr.getAddress(), RFC7421_PREFIX_LENGTH)); in getTetherableIpv6Prefixes()
239 LinkAddress linkAddr = in generateIpConfig() local242 staticIpConfiguration.ipAddress = linkAddr; in generateIpConfig()
301 final String linkAddr = ipv4Addr + "/24"; in testSetUpstreamLinkPropertiesWorking() local302 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking()
1142 for (InetAddress linkAddr : linkAddrs) { in getNetworkForIpAddress()1143 if (addr.equals(linkAddr)) { in getNetworkForIpAddress()