Home
last modified time | relevance | path

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

/system/netd/tests/
Dnetd_test.cpp127 unique_fd tun(rv); in TEST() local
144 rv = ioctl(tun, TUNSETIFF, &tun_ifr); in TEST()
263 rv = write(tun, pkt, pkt_size); in TEST()
Dbinder_test.cpp866 TunInterface tun; in TEST_F() local
867 ASSERT_EQ(0, tun.init()); in TEST_F()
869 mNetd->setProcSysNet(INetd::IPV6, INetd::CONF, tun.name(), "disable_ipv6", "1"); in TEST_F()
871 status = mNetd->interfaceAddAddress(tun.name(), "2001:db8::1", 64); in TEST_F()
874 tun.destroy(); in TEST_F()
954 const std::string& tun = sTun.name(); in TEST_F() local
958 EXPECT_TRUE(mNetd->getProcSysNet(ipversion, category, tun, parameter, &value).isOk()); in TEST_F()
963 EXPECT_TRUE(mNetd->setProcSysNet(ipversion, category, tun, parameter, std::to_string(2 * ival)) in TEST_F()
965 EXPECT_TRUE(mNetd->getProcSysNet(ipversion, category, tun, parameter, &value).isOk()); in TEST_F()
968 EXPECT_TRUE(mNetd->setProcSysNet(ipversion, category, tun, parameter, std::to_string(ival)) in TEST_F()
[all …]
/system/core/rootdir/
Dueventd.rc58 /dev/tun 0660 system vpn
Dinit.rc40 # symlink the Android specific /dev/tun to Linux expected /dev/net/tun
42 symlink ../tun /dev/net/tun
/system/sepolicy/public/
Dnetd.te22 # Allow netd to open /dev/tun, set it up and pass it to clatd
Dapp.te343 # Apps receive an open tun fd from the framework for
/system/sepolicy/prebuilts/api/29.0/public/
Dnetd.te22 # Allow netd to open /dev/tun, set it up and pass it to clatd
Dapp.te336 # Apps receive an open tun fd from the framework for
/system/sepolicy/prebuilts/api/30.0/public/
Dnetd.te22 # Allow netd to open /dev/tun, set it up and pass it to clatd
Dapp.te338 # Apps receive an open tun fd from the framework for
/system/sepolicy/prebuilts/api/26.0/private/
Dapp.te322 # Apps receive an open tun fd from the framework for
Dsystem_server.te299 # tun device used for 3rd party vpn apps
Dfile_contexts159 /dev/tun u:object_r:tun_device:s0
/system/sepolicy/prebuilts/api/28.0/public/
Dapp.te348 # Apps receive an open tun fd from the framework for
/system/sepolicy/prebuilts/api/27.0/private/
Dapp.te330 # Apps receive an open tun fd from the framework for
Dfile_contexts161 /dev/tun u:object_r:tun_device:s0
Dsystem_server.te312 # tun device used for 3rd party vpn apps
/system/sepolicy/prebuilts/api/28.0/private/
Dfile_contexts168 /dev/tun u:object_r:tun_device:s0
Dsystem_server.te331 # tun device used for 3rd party vpn apps
/system/sepolicy/prebuilts/api/29.0/private/
Dfile_contexts164 /dev/tun u:object_r:tun_device:s0
Dsystem_server.te352 # tun device used for 3rd party vpn apps
/system/sepolicy/prebuilts/api/30.0/private/
Dfile_contexts170 /dev/tun u:object_r:tun_device:s0
Dsystem_server.te379 # tun device used for 3rd party vpn apps
/system/sepolicy/private/
Dfile_contexts173 /dev/tun u:object_r:tun_device:s0
Dsystem_server.te379 # tun device used for 3rd party vpn apps