Home
last modified time | relevance | path

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

/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)