Home
last modified time | relevance | path

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

/system/connectivity/shill/vpn/
Dthird_party_vpn_driver.cc427 tunnel_interface_.clear(); in Cleanup()
459 if (!device_info_->CreateTunnelInterface(&tunnel_interface_)) { in Connect()
470 if (link_name != tunnel_interface_) { in ClaimInterface()
482 tun_fd_ = device_info_->OpenTunnelInterface(tunnel_interface_); in ClaimInterface()
Dopenvpn_driver.cc247 tunnel_interface_.clear(); in Cleanup()
315 SLOG(this, 2) << __func__ << "(" << tunnel_interface_ << ")"; in SpawnOpenVPN()
365 if (link_name != tunnel_interface_) { in ClaimInterface()
604 if (!device_info_->CreateTunnelInterface(&tunnel_interface_)) { in Connect()
636 CHECK(!tunnel_interface_.empty()); in InitOptions()
637 AppendOption("dev", tunnel_interface_, options); in InitOptions()
Dopenvpn_driver_unittest.cc349 EXPECT_EQ(kInterfaceName, driver_->tunnel_interface_); in TEST_F()
360 EXPECT_TRUE(driver_->tunnel_interface_.empty()); in TEST_F()
729 driver_->tunnel_interface_ = kInterfaceName; in TEST_F()
743 EXPECT_EQ(kInterfaceName, driver_->tunnel_interface_); in TEST_F()
759 driver_->tunnel_interface_ = kInterfaceName; in TEST_F()
1131 driver_->tunnel_interface_ = kInterfaceName; in TEST_F()
1180 driver_->tunnel_interface_ = kInterfaceName; in TEST_F()
1206 EXPECT_TRUE(driver_->tunnel_interface_.empty()); in TEST_F()
1223 driver_->tunnel_interface_ = "tun0"; in TEST_F()
Dthird_party_vpn_driver.h203 std::string tunnel_interface_; variable
Dopenvpn_driver.h280 std::string tunnel_interface_; variable
Dthird_party_vpn_driver_unittest.cc101 EXPECT_EQ(kInterfaceName, driver_->tunnel_interface_); in TEST_F()