Lines Matching refs:newsock
1093 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1168 *newsock = accept(listen_socks[i],
1170 if (*newsock < 0) {
1176 if (unset_nonblock(*newsock) == -1) {
1177 close(*newsock);
1182 close(*newsock);
1186 close(*newsock);
1194 close(*newsock);
1221 *sock_in = *newsock;
1222 *sock_out = *newsock;
1254 *sock_in = *newsock;
1255 *sock_out = *newsock;
1292 close(*newsock);
1317 int sock_in = -1, sock_out = -1, newsock = -1; local
1817 &newsock, config_s);
1842 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1843 dup2(newsock, STDIN_FILENO);
1867 newsock = sock_out = sock_in = dup(STDIN_FILENO);
1875 sock_in, sock_out, newsock, startup_pipe, config_s[0]);