Lines Matching refs:socket
63 socket_t* socket; member
71 static void sco_socket_free_locked(sco_socket_t* socket);
77 static void socket_read_ready_cb(socket_t* socket, void* context);
137 socket_t* socket = NULL; in sco_socket_establish_locked() local
161 socket = socket_new_from_fd(pair[1]); in sco_socket_establish_locked()
162 if (!socket) { in sco_socket_establish_locked()
169 sco_socket->socket = socket; // Hang on to the other end. in sco_socket_establish_locked()
172 socket_register(socket, thread_get_reactor(thread), sco_socket, in sco_socket_establish_locked()
198 socket_free(sco_socket->socket); in sco_socket_free_locked()
259 if (socket_write_and_transfer_fd(sco_socket->socket, &connect_signal, in connection_request_cb()
290 if (!sco_socket->socket) { in connect_completed_cb()
312 static void socket_read_ready_cb(UNUSED_ATTR socket_t* socket, void* context) { in socket_read_ready_cb() argument
316 socket_free(sco_socket->socket); in socket_read_ready_cb()
317 sco_socket->socket = NULL; in socket_read_ready_cb()