Home
last modified time | relevance | path

Searched refs:listen_sock (Results 1 – 1 of 1) sorted by relevance

/external/openssh/
Dsshd.c1159 int ret, listen_sock, on = 1; local
1177 listen_sock = socket(ai->ai_family, ai->ai_socktype,
1179 if (listen_sock < 0) {
1184 if (set_nonblock(listen_sock) == -1) {
1185 close(listen_sock);
1192 if (setsockopt(listen_sock, SOL_SOCKET, SO_REUSEADDR,
1198 sock_set_v6only(listen_sock);
1203 if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) {
1206 close(listen_sock);
1209 listen_socks[num_listen_socks] = listen_sock;
[all …]