Searched refs:TunForwarder (Results 1 – 3 of 3) sorted by relevance
68 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::TunForwarder109 TunForwarder::~TunForwarder() { in ~TunForwarder()116 bool TunForwarder::startForwarding() { in startForwarding()118 mForwarder = std::thread(&TunForwarder::loop, this); in startForwarding()[all …]
35 class TunForwarder {37 TunForwarder(base::unique_fd tunFd);38 ~TunForwarder();
119 using android::net::TunForwarder;6098 std::unique_ptr<TunForwarder> mTunForwarder;6254 unique_fd ufd = TunForwarder::createTun(mIfname); in init()6258 mTunForwarder = std::make_unique<TunForwarder>(std::move(ufd)); in init()