Home | History | Annotate | Download | only in src

Lines Matching refs:tap_fd

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,
445 if(tap_fd != -1)
466 int ret = write(tap_fd, packet, len + sizeof(tETH_HDR));
680 if (fd == -1 || fd != btpan_cb.tap_fd)
763 assert(btpan_cb.tap_fd == fd);
765 if (btpan_cb.tap_fd != fd)
769 btpan_cb.tap_fd = -1;