HomeSort by relevance Sort by last modified time
    Searched full:tap_fd (Results 1 - 5 of 5) sorted by null

  /external/bluetooth/bluedroid/btif/include/
btif_pan_internal.h 79 int tap_fd; member in struct:__anon2925
96 void create_tap_read_thread(int tap_fd);
98 int btpan_tap_close(int tap_fd);
99 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 84 BTIF_TRACE_DEBUG6("bta_pan_co_open:tap_fd:%d, open_count:%d, "
86 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle,
93 if(btpan_cb.tap_fd < 0)
95 btpan_cb.tap_fd = btpan_tap_open();
96 if(btpan_cb.tap_fd >= 0)
97 create_tap_read_thread(btpan_cb.tap_fd);
99 if(btpan_cb.tap_fd >= 0)
135 if(btpan_cb.tap_fd != -1)
137 btpan_tap_close(btpan_cb.tap_fd);
138 btpan_cb.tap_fd = -1
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_pan.c 118 btpan_cb.tap_fd = -1;
133 if(btpan_cb.tap_fd != -1)
136 btpan_tap_close(btpan_cb.tap_fd);
137 btpan_cb.tap_fd = -1;
264 void create_tap_read_thread(int tap_fd)
270 btsock_thread_add_fd(pth, tap_fd, 0, SOCK_THREAD_FD_RD, 0);
389 int btpan_tap_send(int tap_fd, const BD_ADDR src, const BD_ADDR dst, UINT16 proto, const char* buf,
392 if(tap_fd != -1)
413 int ret = write(tap_fd, packet, len + sizeof(tETH_HDR));
  /external/qemu/
net-android.c 1297 int tap_fd, if_fd, ppa = -1; local
1326 TFR(tap_fd = open("/dev/tap", O_RDWR, 0));
1327 if (tap_fd < 0) {
1337 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...]

Completed in 629 milliseconds