Lines Matching refs:new_fd
340 int r, new_fd[3]; in mux_master_process_new_session() local
401 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { in mux_master_process_new_session()
404 close(new_fd[j]); in mux_master_process_new_session()
418 new_fd[0], new_fd[1], new_fd[2]); in mux_master_process_new_session()
426 close(new_fd[0]); in mux_master_process_new_session()
427 close(new_fd[1]); in mux_master_process_new_session()
428 close(new_fd[2]); in mux_master_process_new_session()
451 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) in mux_master_process_new_session()
462 new_fd[0], new_fd[1], new_fd[2], window, packetmax, in mux_master_process_new_session()
966 int ok = 0, cport, r, new_fd[2]; in mux_master_process_stdio_fwd() local
990 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { in mux_master_process_stdio_fwd()
993 close(new_fd[j]); in mux_master_process_stdio_fwd()
1003 debug3_f("got fds stdin %d, stdout %d", new_fd[0], new_fd[1]); in mux_master_process_stdio_fwd()
1011 close(new_fd[0]); in mux_master_process_stdio_fwd()
1012 close(new_fd[1]); in mux_master_process_stdio_fwd()
1033 nc = channel_connect_stdio_fwd(ssh, chost, cport, new_fd[0], new_fd[1], in mux_master_process_stdio_fwd()