Lines Matching defs:server
84 unsigned server :1; //is a server? (or connecting?)
87 unsigned server_psm_sent :1; //The server shall only send PSM once.
274 // Only call if we are non server connections
275 if (sock->handle && (sock->server == FALSE)) {
281 if ((sock->channel >= 0) && (sock->server == TRUE)) {
330 sock->server = is_server;
493 sock->handle = -1; /* We should no longer associate this handle with the server socket */
495 /* Swap IDs to hand over the GAP connection to the accepted socket, and start a new server on
506 APPL_TRACE_DEBUG("sending connect signal & app fd: %d to app server to accept() the"
508 APPL_TRACE_DEBUG("server fd:%d, scn:%d", sock->our_fd, sock->channel);
512 // But for some reason we still leak a FD - either the server socket
548 APPL_TRACE_DEBUG("sending connect signal & app fd:%dto app server to accept() the"
550 APPL_TRACE_DEBUG("server fd:%d, scn:%d", sock->our_fd, sock->channel);
569 " server:%d", sock->id, sock->channel, sock->server);
588 " server:%d", sock->id, sock->channel, sock->server);
607 if (!sock->server)
612 if (!sock->server)
630 APPL_TRACE_DEBUG("on_l2cap_close, slot id:%d, fd:%d, %s:%d, server:%d",
632 sock->channel, sock->server);
635 // I'm not sure if this will be called for non-server sockets?
636 if(!sock->fixed_chan && (sock->server == TRUE)) {
860 /* If we have a channel specified in the request, just start the server,
861 * else we request a PSM and start the server after we receive a PSM. */
1000 if ((flags & SOCK_THREAD_FD_RD) && !sock->server) {