Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DPrefixUtils.java36 pfx("127.0.0.0/8"), // IPv4 loopback
37 pfx("169.254.0.0/16"), // IPv4 link-local, RFC3927#section-8
38 pfx("::/3"),
39 pfx("fe80::/64"), // IPv6 link-local
40 pfx("fc00::/7"), // IPv6 ULA
41 pfx("ff02::/8"), // IPv6 link-local multicast
44 public static final IpPrefix DEFAULT_WIFI_P2P_PREFIX = pfx("192.168.49.0/24");
86 private static IpPrefix pfx(String prefixStr) { in pfx() method in PrefixUtils
/packages/modules/DnsResolver/
DDns64Configuration.cpp201 bool Dns64Configuration::reportNat64PrefixStatus(unsigned netId, bool added, const IPPrefix& pfx) { in reportNat64PrefixStatus() argument
202 if (pfx.ip().family() != AF_INET6 || pfx.ip().scope_id() != 0) { in reportNat64PrefixStatus()
204 << netId << ", " << added << ", " << pfx.toString() << ")."; in reportNat64PrefixStatus()
207 Nat64PrefixInfo args = {netId, added, pfx.ip().toString(), (uint8_t)pfx.length()}; in reportNat64PrefixStatus()
240 int Dns64Configuration::setPrefix64(unsigned netId, const IPPrefix& pfx) { in setPrefix64() argument
241 if (pfx.isUninitialized() || pfx.family() != AF_INET6 || pfx.length() != 96) { in setPrefix64()
258 cfg.prefix64 = pfx; in setPrefix64()
DDns64Configuration.h86 int setPrefix64(unsigned netId, const netdutils::IPPrefix& pfx) EXCLUDES(mMutex);
116 bool reportNat64PrefixStatus(unsigned netId, bool added, const netdutils::IPPrefix& pfx)
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java737 for (IpPrefix pfx : prefixSet) localPrefixStrs.add(pfx.toString()); in computeLocalPrefixStrings()