Lines Matching refs:sock_in
411 sshd_exchange_identification(int sock_in, int sock_out) in sshd_exchange_identification() argument
450 if (roaming_atomicio(read, sock_in, &buf[i], 1) != 1) { in sshd_exchange_identification()
482 close(sock_in); in sshd_exchange_identification()
548 close(sock_in); in sshd_exchange_identification()
1121 server_accept_inetd(int *sock_in, int *sock_out) argument
1128 *sock_in = *sock_out = dup(STDIN_FILENO);
1134 *sock_in = dup(STDIN_FILENO);
1150 debug("inetd sockets after dupping: %d, %d", *sock_in, *sock_out);
1229 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1362 *sock_in = *newsock;
1395 *sock_in = *newsock;
1465 int sock_in = -1, sock_out = -1, newsock = -1; local
2013 server_accept_inetd(&sock_in, &sock_out);
2043 server_accept_loop(&sock_in, &sock_out,
2069 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2093 newsock = sock_out = sock_in = dup(STDIN_FILENO);
2101 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2106 fcntl(sock_in, F_SETFD, FD_CLOEXEC);
2125 packet_set_connection(sock_in, sock_out);
2130 setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) < 0)
2155 laddr = get_local_ipaddr(sock_in);
2172 sshd_exchange_identification(sock_in, sock_out);