Lines Matching refs:server
84 unsigned server :1; //is a server? (or connecting?) member
269 if (sock->handle >= 0 && (sock->server == FALSE)) { in btsock_l2cap_free_l()
272 if ((sock->channel >= 0) && (sock->server == TRUE)) { in btsock_l2cap_free_l()
279 if (sock->handle && (sock->server == FALSE)) { in btsock_l2cap_free_l()
285 if ((sock->channel >= 0) && (sock->server == TRUE)) { in btsock_l2cap_free_l()
321 sock->server = is_server; in btsock_l2cap_alloc_l()
553 " server:%d", sock->id, sock->channel, sock->server); in on_cl_l2cap_psm_connect_l()
572 " server:%d", sock->id, sock->channel, sock->server); in on_cl_l2cap_le_connect_l()
591 if (!sock->server) in on_l2cap_connect()
596 if (!sock->server) in on_l2cap_connect()
616 sock->channel, sock->server); in on_l2cap_close()
619 if(!sock->fixed_chan && (sock->server == TRUE)) { in on_l2cap_close()
1032 if ((flags & SOCK_THREAD_FD_RD) && !sock->server) { in btsock_l2cap_signaled()