Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp68 Result<TunForwarder::v4pair> TunForwarder::v4pair::makePair( in makePair()
78 bool TunForwarder::v4pair::operator==(const v4pair& o) const { in operator ==()
82 bool TunForwarder::v4pair::operator<(const v4pair& o) const { in operator <()
86 Result<TunForwarder::v6pair> TunForwarder::v6pair::makePair( in makePair()
96 bool TunForwarder::v6pair::operator==(const v6pair& o) const { in operator ==()
100 bool TunForwarder::v6pair::operator<(const v6pair& o) const { in operator <()
105 TunForwarder::TunForwarder(unique_fd tunFd) : mTunFd(std::move(tunFd)) { in TunForwarder() function in android::net::TunForwarder
109 TunForwarder::~TunForwarder() { in ~TunForwarder()
116 bool TunForwarder::startForwarding() { in startForwarding()
118 mForwarder = std::thread(&TunForwarder::loop, this); in startForwarding()
[all …]
Dtun_forwarder.h35 class TunForwarder {
37 TunForwarder(base::unique_fd tunFd);
38 ~TunForwarder();
Dresolv_integration_test.cpp96 using android::net::TunForwarder;
5251 std::unique_ptr<TunForwarder> mTunForwarder;
5282 unique_fd ufd = TunForwarder::createTun(mIfname); in init()
5286 mTunForwarder = std::make_unique<TunForwarder>(std::move(ufd)); in init()