Searched refs:tun (Results 1 – 25 of 25) sorted by relevance
/system/netd/tests/ |
D | netd_test.cpp | 127 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()
|
D | binder_test.cpp | 866 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/ |
D | ueventd.rc | 58 /dev/tun 0660 system vpn
|
D | init.rc | 40 # symlink the Android specific /dev/tun to Linux expected /dev/net/tun 42 symlink ../tun /dev/net/tun
|
/system/sepolicy/public/ |
D | netd.te | 22 # Allow netd to open /dev/tun, set it up and pass it to clatd
|
D | app.te | 343 # Apps receive an open tun fd from the framework for
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | netd.te | 22 # Allow netd to open /dev/tun, set it up and pass it to clatd
|
D | app.te | 336 # Apps receive an open tun fd from the framework for
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | netd.te | 22 # Allow netd to open /dev/tun, set it up and pass it to clatd
|
D | app.te | 338 # Apps receive an open tun fd from the framework for
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | app.te | 322 # Apps receive an open tun fd from the framework for
|
D | system_server.te | 299 # tun device used for 3rd party vpn apps
|
D | file_contexts | 159 /dev/tun u:object_r:tun_device:s0
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | app.te | 348 # Apps receive an open tun fd from the framework for
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | app.te | 330 # Apps receive an open tun fd from the framework for
|
D | file_contexts | 161 /dev/tun u:object_r:tun_device:s0
|
D | system_server.te | 312 # tun device used for 3rd party vpn apps
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | file_contexts | 168 /dev/tun u:object_r:tun_device:s0
|
D | system_server.te | 331 # tun device used for 3rd party vpn apps
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | file_contexts | 164 /dev/tun u:object_r:tun_device:s0
|
D | system_server.te | 352 # tun device used for 3rd party vpn apps
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | file_contexts | 170 /dev/tun u:object_r:tun_device:s0
|
D | system_server.te | 379 # tun device used for 3rd party vpn apps
|
/system/sepolicy/private/ |
D | file_contexts | 173 /dev/tun u:object_r:tun_device:s0
|
D | system_server.te | 379 # tun device used for 3rd party vpn apps
|