Searched refs:app_fd (Results 1 – 2 of 2) sorted by relevance
83 int app_fd; // Temporary storage for the half of the socketpair that's sent back to upper layers. member119 rfc_slots[i].app_fd = INVALID_FD; in btsock_rfc_init()208 slot->app_fd = fds[1]; in alloc_rfc_slot()300 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_listen()308 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_listen()367 *sock_fd = slot->app_fd; // Transfer ownership of fd to caller. in btsock_rfc_connect()368 slot->app_fd = INVALID_FD; // Drop our reference to the fd. in btsock_rfc_connect()407 if (slot->app_fd != INVALID_FD) { in cleanup_rfc_slot()408 close(slot->app_fd); in cleanup_rfc_slot()409 slot->app_fd = INVALID_FD; in cleanup_rfc_slot()[all …]
76 int app_fd; //fd from app's side member256 if (sock->app_fd != -1) { in btsock_l2cap_free_l()257 close(sock->app_fd); in btsock_l2cap_free_l()319 sock->app_fd = fds[1]; in btsock_l2cap_alloc_l()490 " connection", accept_rs->app_fd); in on_srv_l2cap_psm_connect_l()493 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()494 accept_rs->app_fd = -1; // The fd is closed after sent to app in send_app_connect_signal() in on_srv_l2cap_psm_connect_l()533 " connection", accept_rs->app_fd); in on_srv_l2cap_le_connect_l()536 accept_rs->app_fd, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()537 accept_rs->app_fd = -1; //the fd is closed after sent to app in on_srv_l2cap_le_connect_l()[all …]