Searched refs:tunfd (Results 1 – 14 of 14) sorted by relevance
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | vnic_manager.cpp | 77 int32_t tunfd = open(VNIC_TUN_DEVICE_PATH, O_RDWR | O_NONBLOCK); in CreateVnicInterface() local 78 if (tunfd <= 0) { in CreateVnicInterface() 84 if (ioctl(tunfd, TUNSETIFF, &ifr) < 0) { in CreateVnicInterface() 85 close(tunfd); in CreateVnicInterface() 99 close(tunfd); in CreateVnicInterface() 104 NETNATIVE_LOGI("open virtual device successfully, [%{public}d]", tunfd); in CreateVnicInterface() 105 tunFd_ = tunfd; in CreateVnicInterface()
|
H A D | vpn_manager.cpp | 59 int32_t tunfd = open(TUN_DEVICE_PATH, O_RDWR | O_NONBLOCK); in CreateVpnInterface() local 60 if (tunfd <= 0) { in CreateVpnInterface() 66 if (ioctl(tunfd, TUNSETIFF, &ifr) < 0) { in CreateVpnInterface() 67 close(tunfd); in CreateVpnInterface() 81 close(tunfd); in CreateVpnInterface() 86 NETNATIVE_LOGI("open virtual device successfully, [%{public}d]", tunfd); in CreateVpnInterface() 87 tunFd_ = tunfd; in CreateVpnInterface()
|
/ohos5.0/foundation/communication/netmanager_base/services/etc/init/ |
H A D | netsysnative.cfg | 42 "name" : "tunfd",
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/ |
H A D | js-apis-net-vpn-sys.md | 131 console.info("tunfd: " + JSON.stringify(data)); 202 console.info("setUp success, tunfd: " + JSON.stringify(data));
|
H A D | js-apis-net-vpnExtension.md | 338 hilog.error(0x0000, 'developTag', 'tunfd: %{public}s', JSON.stringify(data) ?? '');
|
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/ |
H A D | js-apis-net-vpn-sys.md | 131 console.info("tunfd: " + JSON.stringify(data)); 202 console.info("setUp success, tunfd: " + JSON.stringify(data));
|
H A D | js-apis-net-vpnExtension.md | 338 hilog.error(0x0000, 'developTag', 'tunfd: %{public}s', JSON.stringify(data) ?? '');
|
/ohos5.0/docs/zh-cn/application-dev/network/ |
H A D | net-vpn.md | 240 … NETMANAGER_VPN_LOGE("read tun device error: %{public}d, tunfd: %{public}d", errno, fdInfo.tunFd);
|
/ohos5.0/docs/en/application-dev/network/ |
H A D | net-vpn.md | 240 … NETMANAGER_VPN_LOGE("read tun device error: %{public}d, tunfd: %{public}d", errno, fdInfo.tunFd);
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/ |
H A D | last_kmsg | 1116 <14>[ 9.462862] [pid=603][Init][INFO][init_service_socket.c:142]CreateSocket tunfd success
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/ |
H A D | last_kmsg | 1116 <14>[ 9.462862] [pid=603][Init][INFO][init_service_socket.c:142]CreateSocket tunfd success
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/ |
H A D | last_kmsg | 1116 <14>[ 9.462862] [pid=603][Init][INFO][init_service_socket.c:142]CreateSocket tunfd success
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest014/ |
H A D | last_kmsg | 1116 <14>[ 9.462862] [pid=603][Init][INFO][init_service_socket.c:142]CreateSocket tunfd success
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest015/ |
H A D | last_kmsg | 1116 <14>[ 9.462862] [pid=603][Init][INFO][init_service_socket.c:142]CreateSocket tunfd success
|