Searched refs:listen_sock (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | sshd.c | 1020 int ret, listen_sock, on = 1; local 1038 listen_sock = socket(ai->ai_family, ai->ai_socktype, 1040 if (listen_sock < 0) { 1045 if (set_nonblock(listen_sock) == -1) { 1046 close(listen_sock); 1049 if (fcntl(listen_sock, F_SETFD, FD_CLOEXEC) == -1) { 1051 close(listen_sock); 1058 if (setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR, 1064 sock_set_v6only(listen_sock); 1069 if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { [all …]
|