Lines Matching refs:sock_out
967 server_accept_inetd(int *sock_in, int *sock_out) argument
973 *sock_in = *sock_out = dup(STDIN_FILENO);
976 *sock_out = dup(STDOUT_FILENO);
991 debug("inetd sockets after dupping: %d, %d", *sock_in, *sock_out);
1094 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1267 *sock_out = *newsock;
1300 *sock_out = *newsock;
1493 int sock_in = -1, sock_out = -1, newsock = -1; local
1997 server_accept_inetd(&sock_in, &sock_out);
2024 server_accept_loop(&sock_in, &sock_out,
2050 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2074 newsock = sock_out = sock_in = dup(STDIN_FILENO);
2082 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2086 fcntl(sock_out, F_SETFD, FD_CLOEXEC);
2101 if ((ssh = ssh_packet_set_connection(NULL, sock_in, sock_out)) == NULL)