Searched refs:newsock (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/crypto/openssh/
H A Dsshd.c1159 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) argument
1234 *newsock = accept(listen_socks[i],
1236 if (*newsock < 0) {
1245 if (unset_nonblock(*newsock) == -1) {
1246 close(*newsock);
1251 close(*newsock);
1255 close(*newsock);
1263 close(*newsock);
1290 *sock_in = *newsock;
1291 *sock_out = *newsock;
1386 int sock_in = -1, sock_out = -1, newsock = -1; local
[all...]
H A Dchannels.c1366 int newsock, oerrno; local
1374 newsock = accept(c->sock, (struct sockaddr *)&addr, &addrlen);
1382 if (newsock < 0) {
1390 set_nodelay(newsock);
1391 remote_ipaddr = get_peer_ipaddr(newsock);
1392 remote_port = get_peer_port(newsock);
1397 SSH_CHANNEL_OPENING, newsock, newsock, -1,
1505 int newsock, nextstate; local
1528 newsock
1559 int newsock; local
1967 int newsock; local
[all...]

Completed in 135 milliseconds