Searched refs:data_sock (Results 1 – 1 of 1) sorted by relevance
187 static struct sock_event_handler_info data_sock[MAX_DATA_CONN]; variable830 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, data_sock[dsock_idx].sock, &epev) == -1) { in ctrl_data_close()836 close(data_sock[dsock_idx].sock); in ctrl_data_close()837 data_sock[dsock_idx].sock = -1; in ctrl_data_close()843 ret = TEMP_FAILURE_RETRY(read(data_sock[dsock_idx].sock, buf, bufsz)); in ctrl_data_read()858 ret = TEMP_FAILURE_RETRY(write(data_sock[dsock_idx].sock, buf, bufsz)); in ctrl_data_write()941 if (data_sock[i].sock < 0) { in get_free_dsock()966 data_sock[free_dscock_idx].sock = accept(ctrl_sock.sock, NULL, NULL); in ctrl_connect_handler()967 if (data_sock[free_dscock_idx].sock < 0) { in ctrl_connect_handler()974 data_sock[free_dscock_idx].handler_info.data = free_dscock_idx; in ctrl_connect_handler()[all …]