Home
last modified time | relevance | path

Searched refs:conflictPrefix (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java251 private int getNextSubPrefix(final IpPrefix conflictPrefix, final int prefixRangeMask) { in getNextSubPrefix() argument
252 final int suffixMask = ~prefixLengthToV4NetmaskIntHTH(conflictPrefix.getPrefixLength()); in getNextSubPrefix()
256 (getPrefixBaseAddress(conflictPrefix) | suffixMask) & ~prefixRangeMask; in getNextSubPrefix()
328 final IpPrefix conflictPrefix = getConflictPrefix(prefix); in findAvailablePrefixFromRange() local
330 if (conflictPrefix == null) return prefix; in findAvailablePrefixFromRange()
332 newSubPrefix = getNextSubPrefix(conflictPrefix, prefixRangeMask); in findAvailablePrefixFromRange()