Searched refs:IPPrefix (Results 1 – 9 of 9) sorted by relevance
/system/netd/libnetdutils/ |
D | InternetAddressesTest.cpp | 176 return IPPrefix(IPAddress(IPV4_ONES), length).toString(); in TEST() 220 return IPPrefix(IPAddress(IPV6_ONES), length).toString(); in TEST() 395 IPPrefix prefix(ip, expectation.cidrLen); in TEST() 405 const std::vector<OperatorExpectation<IPPrefix>> kExpectations{ in TEST() 406 {EQ, IPPrefix(), IPPrefix()}, in TEST() 407 {EQ, IPPrefix(IPAddress(IPV4_ANY), 0), IPPrefix(IPAddress(IPV4_ANY), 0)}, in TEST() 408 {EQ, IPPrefix(IPAddress(IPV4_ANY), IPV4_ADDR_BITS), IPPrefix(IPAddress(IPV4_ANY))}, in TEST() 409 {EQ, IPPrefix(IPAddress(IPV6_ANY), 0), IPPrefix(IPAddress(IPV6_ANY), 0)}, in TEST() 410 {EQ, IPPrefix(IPAddress(IPV6_ANY), IPV6_ADDR_BITS), IPPrefix(IPAddress(IPV6_ANY))}, in TEST() 412 {EQ, IPPrefix(IPAddress(FE80_1)), IPPrefix(IPAddress(FE80_1, 0), IPV6_ADDR_BITS)}, in TEST() [all …]
|
D | InternetAddresses.cpp | 91 IPPrefix::IPPrefix(const IPAddress& ip, int length) : IPPrefix(ip) { in IPPrefix() function in android::netdutils::IPPrefix 123 bool IPPrefix::isUninitialized() const noexcept { in isUninitialized() 128 std::string IPPrefix::toString() const noexcept { in toString()
|
/system/netd/libnetdutils/include/netdutils/ |
D | InternetAddresses.h | 111 class IPPrefix; variable 162 friend class IPPrefix; 186 class IPPrefix { 190 IPPrefix() = default; 191 IPPrefix(const IPPrefix&) = default; 192 IPPrefix(IPPrefix&&) = default; 194 explicit IPPrefix(const IPAddress& ip) : mData(ip.mData) {} in IPPrefix() function 199 IPPrefix(const IPAddress& ip, int length); 201 IPPrefix& operator=(const IPPrefix&) = default; 202 IPPrefix& operator=(IPPrefix&&) = default; [all …]
|
/system/netd/resolv/ |
D | Dns64Configuration.cpp | 41 using netdutils::IPPrefix; 108 IPPrefix Dns64Configuration::getPrefix64Locked(unsigned netId) const REQUIRES(mMutex) { in getPrefix64Locked() 112 return IPPrefix{}; in getPrefix64Locked() 115 IPPrefix Dns64Configuration::getPrefix64(unsigned netId) const { in getPrefix64() 179 cfg->prefix64 = IPPrefix(ipv6, 96); in doRfc7050PrefixDiscovery() 195 bool Dns64Configuration::reportNat64PrefixStatus(unsigned netId, bool added, const IPPrefix& pfx) { in reportNat64PrefixStatus() 212 IPPrefix prefix = getPrefix64Locked(netId); in removeDns64Config()
|
D | Dns64Configuration.h | 83 netdutils::IPPrefix getPrefix64(unsigned netId) const; 94 netdutils::IPPrefix prefix64{}; 102 netdutils::IPPrefix getPrefix64Locked(unsigned netId) const REQUIRES(mMutex); 104 bool reportNat64PrefixStatus(unsigned netId, bool added, const netdutils::IPPrefix& pfx)
|
D | ResolverController.h | 44 int getPrefix64(unsigned netId, netdutils::IPPrefix* prefix);
|
D | DnsProxyListener.cpp | 411 bool isValidNat64Prefix(const netdutils::IPPrefix prefix) { in isValidNat64Prefix() 423 bool synthesizeNat64PrefixWithARecord(const netdutils::IPPrefix& prefix, struct hostent* hp) { in synthesizeNat64PrefixWithARecord() 458 bool synthesizeNat64PrefixWithARecord(const netdutils::IPPrefix& prefix, addrinfo* result) { in synthesizeNat64PrefixWithARecord() 493 bool getDns64Prefix(unsigned netId, netdutils::IPPrefix* prefix) { in getDns64Prefix() 604 netdutils::IPPrefix prefix{}; in doDns64Synthesis() 1006 netdutils::IPPrefix prefix{}; in doDns64Synthesis() 1142 netdutils::IPPrefix prefix{}; in doDns64ReverseLookup()
|
D | ResolverController.cpp | 291 int ResolverController::getPrefix64(unsigned netId, netdutils::IPPrefix* prefix) { in getPrefix64() 292 netdutils::IPPrefix p = mDns64Configuration.getPrefix64(netId); in getPrefix64()
|
D | DnsResolverService.cpp | 263 netdutils::IPPrefix prefix{}; in getPrefix64()
|