Searched refs:getPrefixLength (Results 1 – 9 of 9) sorted by relevance
172 new IpPrefix(destination.getAddress(), destination.getPrefixLength()), in RouteInfo()263 mDestination.getPrefixLength() == 32) || in isHost()265 mDestination.getPrefixLength() == 128); in isHost()282 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress()321 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute()374 mDestination.getPrefixLength()); in matches()396 (bestRoute.mDestination.getPrefixLength() >= in selectBestRoute()397 route.mDestination.getPrefixLength())) { in selectBestRoute()
255 public int getPrefixLength() { in getPrefixLength() method in LinkAddress265 return getPrefixLength(); in getNetworkPrefixLength()
168 public int getPrefixLength() { in getPrefixLength() method in IpPrefix
74 assertEquals(25, address.getPrefixLength()); in testConstructors()80 assertEquals(127, address.getPrefixLength()); in testConstructors()87 assertEquals(64, address.getPrefixLength()); in testConstructors()93 assertEquals(23, address.getPrefixLength()); in testConstructors()112 assertEquals(8, ipv4Loopback.getPrefixLength()); in testConstructors()115 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
244 int prefixLength = getPrefixLength(jsonConfig.getInt("prefix_length")); in getWifiConfiguration()348 private static int getPrefixLength(int prefixLength) { in getPrefixLength() method in WifiConfigurationHelper
87 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()
871 linkAddr.getPrefixLength()); in setInterfaceConfig()2041 cmd.appendArg(la.getAddress().getHostAddress() + "/" + la.getPrefixLength()); in addLegacyRouteForNetId()
18260 method public int getPrefixLength();18270 method public int getPrefixLength();
17001 method public int getPrefixLength();17011 method public int getPrefixLength();