Searched refs:prefix1 (Results 1 – 3 of 3) sorted by relevance
264 public int compare(IpPrefix prefix1, IpPrefix prefix2) { in lengthComparator()265 if (prefix1.isIPv4()) { in lengthComparator()270 final int p1len = prefix1.getPrefixLength(); in lengthComparator()274 final byte[] a1 = prefix1.address; in lengthComparator()
216 private boolean isConflictPrefix(final IpPrefix prefix1, final IpPrefix prefix2) { in isConflictPrefix() argument217 if (prefix2.getPrefixLength() < prefix1.getPrefixLength()) { in isConflictPrefix()218 return prefix2.contains(prefix1.getAddress()); in isConflictPrefix()221 return prefix1.contains(prefix2.getAddress()); in isConflictPrefix()
402 LinkAddress prefix1 = new LinkAddress(address("2001:db8:1::"), 48); in testRouteInterfaces() local408 RouteInfo r = new RouteInfo(prefix1, address, null); in testRouteInterfaces()