Home | History | Annotate | Download | only in openssh

Lines Matching refs:newsock

1095 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
1166 *newsock = accept(listen_socks[i],
1168 if (*newsock < 0) {
1177 if (unset_nonblock(*newsock) == -1) {
1178 close(*newsock);
1182 char *laddr = get_local_ipaddr(*newsock);
1183 char *raddr = get_peer_ipaddr(*newsock);
1187 raddr, get_peer_port(*newsock),
1188 laddr, get_local_port(*newsock));
1191 close(*newsock);
1195 close(*newsock);
1203 close(*newsock);
1230 *sock_in = *newsock;
1231 *sock_out = *newsock;
1263 *sock_in = *newsock;
1264 *sock_out = *newsock;
1288 close(*newsock);
1362 int sock_in = -1, sock_out = -1, newsock = -1;
1891 &newsock, config_s);
1915 debug("rexec start in %d out %d newsock %d pipe %d sock %d",
1916 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1917 dup2(newsock, STDIN_FILENO);
1940 newsock = sock_out = sock_in = dup(STDIN_FILENO);
1947 debug("rexec cleanup in %d out %d newsock %d pipe %d sock %d",
1948 sock_in, sock_out, newsock, startup_pipe, config_s[0]);