Lines Matching refs:sock_in
506 sshd_exchange_identification(int sock_in, int sock_out) in sshd_exchange_identification() argument
541 if (atomicio(read, sock_in, &buf[i], 1) != 1) { in sshd_exchange_identification()
571 (void) close(sock_in); in sshd_exchange_identification()
632 (void) close(sock_in); in sshd_exchange_identification()
823 int opt, j, i, fdsetsz, sock_in = 0, sock_out = 0, newsock = -1, on = 1; in main() local
1197 sock_in = dup(0); in main()
1201 newsock = sock_in; in main()
1207 debug("inetd sockets after dupping: %d, %d", sock_in, sock_out); in main()
1407 sock_in = newsock; in main()
1444 sock_in = newsock; in main()
1519 setsockopt(sock_in, SOL_SOCKET, SO_KEEPALIVE, &on, in main()
1527 packet_set_connection(sock_in, sock_out); in main()
1537 (void) request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0); in main()
1552 sshd_exchange_identification(sock_in, sock_out); in main()