Lines Matching refs:sock_in
399 sshd_exchange_identification(int sock_in, int sock_out)
436 if (roaming_atomicio(read, sock_in, &buf[i], 1) != 1) {
465 close(sock_in);
526 close(sock_in);
987 server_accept_inetd(int *sock_in, int *sock_out)
994 *sock_in = *sock_out = dup(STDIN_FILENO);
1000 *sock_in = dup(STDIN_FILENO);
1014 debug("inetd sockets after dupping: %d, %d", *sock_in, *sock_out);
1093 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
1221 *sock_in = *newsock;
1254 *sock_in = *newsock;
1317 int sock_in = -1, sock_out = -1, newsock = -1;
1786 server_accept_inetd(&sock_in, &sock_out);
1816 server_accept_loop(&sock_in, &sock_out,
1842 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1867 newsock = sock_out = sock_in = dup(STDIN_FILENO);
1875 sock_in
1880 fcntl(sock_in, F_SETFD, FD_CLOEXEC);
1899 packet_set_connection(sock_in, sock_out);
1904 setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) < 0)
1934 request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0);
1961 sshd_exchange_identification(sock_in, sock_out);