Lines Matching refs:newsock
1229 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1306 *newsock = accept(listen_socks[i],
1308 if (*newsock < 0) {
1317 if (unset_nonblock(*newsock) == -1) {
1318 close(*newsock);
1323 close(*newsock);
1327 close(*newsock);
1335 close(*newsock);
1362 *sock_in = *newsock;
1363 *sock_out = *newsock;
1395 *sock_in = *newsock;
1396 *sock_out = *newsock;
1433 close(*newsock);
1465 int sock_in = -1, sock_out = -1, newsock = -1; local
2044 &newsock, config_s);
2069 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2070 dup2(newsock, STDIN_FILENO);
2093 newsock = sock_out = sock_in = dup(STDIN_FILENO);
2101 sock_in, sock_out, newsock, startup_pipe, config_s[0]);