Lines Matching refs:sock_in
410 sshd_exchange_identification(int sock_in, int sock_out) in sshd_exchange_identification() argument
449 if (roaming_atomicio(read, sock_in, &buf[i], 1) != 1) { in sshd_exchange_identification()
481 close(sock_in); in sshd_exchange_identification()
547 close(sock_in); in sshd_exchange_identification()
1111 server_accept_inetd(int *sock_in, int *sock_out) argument
1118 *sock_in = *sock_out = dup(STDIN_FILENO);
1124 *sock_in = dup(STDIN_FILENO);
1140 debug("inetd sockets after dupping: %d, %d", *sock_in, *sock_out);
1219 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1352 *sock_in = *newsock;
1385 *sock_in = *newsock;
1453 int sock_in = -1, sock_out = -1, newsock = -1; local
1995 server_accept_inetd(&sock_in, &sock_out);
2025 server_accept_loop(&sock_in, &sock_out,
2051 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2075 newsock = sock_out = sock_in = dup(STDIN_FILENO);
2083 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2088 fcntl(sock_in, F_SETFD, FD_CLOEXEC);
2107 packet_set_connection(sock_in, sock_out);
2112 setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) < 0)
2139 get_local_ipaddr(sock_in), get_local_port());
2153 sshd_exchange_identification(sock_in, sock_out);