/external/bluetooth/bluedroid/btif/include/ |
btif_pan_internal.h | 79 int tap_fd; member in struct:__anon5665 100 void create_tap_read_thread(int tap_fd); 102 int btpan_tap_close(int tap_fd); 103 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst, UINT16 protocol,
|
/external/bluetooth/bluedroid/btif/co/ |
bta_pan_co.c | 85 BTIF_TRACE_DEBUG("bta_pan_co_open:tap_fd:%d, open_count:%d, " 87 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, 94 if(btpan_cb.tap_fd < 0) 96 btpan_cb.tap_fd = btpan_tap_open(); 97 if(btpan_cb.tap_fd >= 0) 98 create_tap_read_thread(btpan_cb.tap_fd); 100 if(btpan_cb.tap_fd >= 0) 134 if(btpan_cb.open_count == 0 && btpan_cb.tap_fd != -1) 136 btpan_tap_close(btpan_cb.tap_fd); 137 btpan_cb.tap_fd = -1 [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_pan.c | 130 btpan_cb.tap_fd = -1; 147 if(btpan_cb.tap_fd != -1) 149 btpan_tap_close(btpan_cb.tap_fd); 150 btpan_cb.tap_fd = -1; 290 void create_tap_read_thread(int tap_fd) 295 btsock_thread_add_fd(pan_pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0); 391 if (btpan_cb.tap_fd == -1) 396 btsock_thread_add_fd(pan_pth, btpan_cb.tap_fd, 0, SOCK_THREAD_FD_RD, 0); 397 bta_dmexecutecallback(btu_exec_tap_fd_read, (void *)btpan_cb.tap_fd); 440 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst, UINT16 proto, const char* buf [all...] |
/external/qemu/net/ |
net-android.c | 1272 int tap_fd, if_fd, ppa = -1; local 1301 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); 1302 if (tap_fd < 0) { 1312 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0) [all...] |
net.c | 1169 int tap_fd, if_fd, ppa = -1; local 1198 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); 1199 if (tap_fd < 0) { 1209 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0) 1281 return tap_fd; [all...] |