Searched refs:dst2 (Results 1 – 1 of 1) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 5349 std::string dst2 = makeIpString(index + 200); // The address translated from dst2. in addDns() local 5351 if (!mTunForwarder->addForwardingRule({src1, dst1}, {src2, dst2}) || in addDns() 5352 !mTunForwarder->addForwardingRule({dst2, src2}, {dst1, src1})) { in addDns() 5353 return Errorf("Failed to add the rules ({}, {}, {}, {})", src1, dst1, src2, dst2); in addDns() 5356 if (!mNetdSrv->interfaceAddAddress(mIfname, dst2, prefixLen).isOk()) { in addDns() 5357 return Errorf("interfaceAddAddress({}, {}, {}) failed", mIfname, dst2, prefixLen); in addDns() 5361 auto& dnsPtr = mDnsServers.emplace_back(std::make_unique<test::DNSResponder>(dst2)); in addDns()
|