Lines Matching refs:server_socket
105 struct server_socket { struct
119 struct server_socket server_sockets[CRAS_NUM_CONN_TYPE]; argument
123 static void server_socket_cleanup(struct server_socket *socket) in server_socket_cleanup()
219 static void handle_new_connection(struct server_socket *server_socket) in handle_new_connection() argument
232 connection_fd = accept(server_socket->fd, in handle_new_connection()
233 (struct sockaddr *)&server_socket->addr, in handle_new_connection()
261 connection_fd, poll_client->id, server_socket->type); in handle_new_connection()
483 struct server_socket *server_socket) in create_and_listen_server_socket() argument
487 struct sockaddr_un *addr = &server_socket->addr; in create_and_listen_server_socket()
529 server_socket->fd = socket_fd; in create_and_listen_server_socket()
530 server_socket->type = conn_type; in create_and_listen_server_socket()