Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/android/net/util/
DPrefixUtils.java35 pfx("127.0.0.0/8"), // IPv4 loopback
36 pfx("169.254.0.0/16"), // IPv4 link-local, RFC3927#section-8
37 pfx("::/3"),
38 pfx("fe80::/64"), // IPv6 link-local
39 pfx("fc00::/7"), // IPv6 ULA
40 pfx("ff02::/8"), // IPv6 link-local multicast
43 public static final IpPrefix DEFAULT_WIFI_P2P_PREFIX = pfx("192.168.49.0/24");
85 private static IpPrefix pfx(String prefixStr) { in pfx() method in PrefixUtils
/packages/modules/DnsResolver/
DDns64Configuration.cpp202 bool Dns64Configuration::reportNat64PrefixStatus(unsigned netId, bool added, const IPPrefix& pfx) { in reportNat64PrefixStatus() argument
203 if (pfx.ip().family() != AF_INET6 || pfx.ip().scope_id() != 0) { in reportNat64PrefixStatus()
205 << netId << ", " << added << ", " << pfx.toString() << ")."; in reportNat64PrefixStatus()
208 Nat64PrefixInfo args = {netId, added, pfx.ip().toString(), (uint8_t)pfx.length()}; in reportNat64PrefixStatus()
241 int Dns64Configuration::setPrefix64(unsigned netId, const IPPrefix& pfx) { in setPrefix64() argument
242 if (pfx.isUninitialized() || pfx.family() != AF_INET6 || pfx.length() != 96) { in setPrefix64()
259 cfg.prefix64 = pfx; in setPrefix64()
DDns64Configuration.h85 int setPrefix64(unsigned netId, const netdutils::IPPrefix& pfx) EXCLUDES(mMutex);
115 bool reportNat64PrefixStatus(unsigned netId, bool added, const netdutils::IPPrefix& pfx)
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java748 for (IpPrefix pfx : prefixSet) localPrefixStrs.add(pfx.toString()); in computeLocalPrefixStrings()