Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp7364 std::string dst2 = makeIpString( in addDns() local
7367 if (!mTunForwarder->addForwardingRule({src1, dst1}, {src2, dst2}) || in addDns()
7368 !mTunForwarder->addForwardingRule({dst2, src2}, {dst1, src1})) { in addDns()
7369 return Errorf("Failed to add the rules ({}, {}, {}, {})", src1, dst1, src2, dst2); in addDns()
7372 if (!mNetdSrv->interfaceAddAddress(mIfname, dst2, prefixLen).isOk()) { in addDns()
7373 return Errorf("interfaceAddAddress({}, {}, {}) failed", mIfname, dst2, prefixLen); in addDns()
7376 return mDnsServerPairs.emplace_back(std::make_shared<test::DNSResponder>(mNetId, dst2), dst1); in addDns()