Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp6318 std::string dst2 = makeIpString( in addDns() local
6321 if (!mTunForwarder->addForwardingRule({src1, dst1}, {src2, dst2}) || in addDns()
6322 !mTunForwarder->addForwardingRule({dst2, src2}, {dst1, src1})) { in addDns()
6323 return Errorf("Failed to add the rules ({}, {}, {}, {})", src1, dst1, src2, dst2); in addDns()
6326 if (!mNetdSrv->interfaceAddAddress(mIfname, dst2, prefixLen).isOk()) { in addDns()
6327 return Errorf("interfaceAddAddress({}, {}, {}) failed", mIfname, dst2, prefixLen); in addDns()
6330 return mDnsServerPairs.emplace_back(std::make_shared<test::DNSResponder>(mNetId, dst2), dst1); in addDns()