Searched defs:tap_fd (Results 1 - 4 of 4) sorted by relevance
/external/bluetooth/bluedroid/btif/include/ |
H A D | btif_pan_internal.h | 79 int tap_fd; member in struct:__anon955 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/src/ |
H A D | 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) argument 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, argument 392 if(tap_fd != -1) 413 int ret = write(tap_fd, packet, len + sizeof(tETH_HDR));
|
/external/qemu/ |
H A D | 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) 1409 return tap_fd;
|
H A D | 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;
|
Completed in 217 milliseconds