Home
last modified time | relevance | path

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

/system/connectivity/shill/vpn/
Dthird_party_vpn_driver.cc96 tun_fd_(-1), in ThirdPartyVpnDriver()
175 } else if (tun_fd_ < 0) { in SendPacket()
178 } else if (file_io_->Write(tun_fd_, ip_packet.data(), ip_packet.size()) != in SendPacket()
437 if (tun_fd_ > 0) { in Cleanup()
438 file_io_->Close(tun_fd_); in Cleanup()
439 tun_fd_ = -1; in Cleanup()
482 tun_fd_ = device_info_->OpenTunnelInterface(tunnel_interface_); in ClaimInterface()
483 if (tun_fd_ < 0) { in ClaimInterface()
488 tun_fd_, in ClaimInterface()
Dthird_party_vpn_driver_unittest.cc138 driver_->tun_fd_ = fd; in TEST_F()
154 driver_->tun_fd_ = -1; in TEST_F()
Dthird_party_vpn_driver.h197 int tun_fd_; variable