Lines Matching refs:socket_id
2282 p_scb->mdep_cfg_idx, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0]);
2286 p_scb->channel_id, BTHL_CONN_STATE_DISCONNECTING, p_scb->socket_id[0] );
4706 if (socketpair(AF_UNIX, SOCK_STREAM, 0, p_scb->socket_id) >= 0)
4708 BTIF_TRACE_DEBUG2("socket id[0]=%d id[1]=%d",p_scb->socket_id[0], p_scb->socket_id[1] );
4717 p_scb->max_s = p_scb->socket_id[1];
4760 FD_SET(p_scb->socket_id[1], p_org_set);
4761 BTIF_TRACE_DEBUG2("found and set socket_id=%d is_set=%d", p_scb->socket_id[1], FD_ISSET(p_scb->socket_id[1], p_org_set));
4770 evt_param.chan_cb.fd = p_scb->socket_id[0];
4814 if (p_scb->socket_id[1] != -1)
4816 FD_CLR(p_scb->socket_id[1] , p_org_set);
4817 shutdown(p_scb->socket_id[1], SHUT_RDWR);
4818 close(p_scb->socket_id[1]);
4823 evt_param.chan_cb.fd = p_scb->socket_id[0];
4914 if (FD_ISSET(p_scb->socket_id[1], p_cur_set))
4929 // r = recv(p_scb->socket_id[1], p_dcb->p_tx_pkt, p_dcb->mtu , MSG_DONTWAIT));
4932 if ((r = (int)recv(p_scb->socket_id[1], p_dcb->p_tx_pkt, p_dcb->mtu , MSG_DONTWAIT)) > 0)