Lines Matching refs:sock_out
361 sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out) in sshd_exchange_identification() argument
375 if (atomicio(vwrite, sock_out, server_version_string, in sshd_exchange_identification()
415 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification()
420 close(sock_out); in sshd_exchange_identification()
457 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification()
459 close(sock_out); in sshd_exchange_identification()
982 server_accept_inetd(int *sock_in, int *sock_out) argument
989 *sock_in = *sock_out = dup(STDIN_FILENO);
996 *sock_out = dup(STDOUT_FILENO);
1011 debug("inetd sockets after dupping: %d, %d", *sock_in, *sock_out);
1095 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1231 *sock_out = *newsock;
1264 *sock_out = *newsock;
1362 int sock_in = -1, sock_out = -1, newsock = -1; local
1863 server_accept_inetd(&sock_in, &sock_out);
1890 server_accept_loop(&sock_in, &sock_out,
1916 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1940 newsock = sock_out = sock_in = dup(STDIN_FILENO);
1948 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1952 fcntl(sock_out, F_SETFD, FD_CLOEXEC);
1972 packet_set_connection(sock_in, sock_out);
2016 sshd_exchange_identification(ssh, sock_in, sock_out);