Searched refs:muxserver_sock (Results 1 – 3 of 3) sorted by relevance
119 int muxserver_sock = -1; variable1108 muxserver_sock = -1; in process_mux_stop_listening()1289 muxserver_sock = unix_listener(options.control_path, 64, 0); in muxserver_listen()1292 if (muxserver_sock < 0) { in muxserver_listen()1297 if (muxserver_sock != -1) { in muxserver_listen()1298 close(muxserver_sock); in muxserver_listen()1299 muxserver_sock = -1; in muxserver_listen()1328 set_nonblock(muxserver_sock); in muxserver_listen()1331 SSH_CHANNEL_MUX_LISTENER, muxserver_sock, muxserver_sock, -1, in muxserver_listen()
192 extern int muxserver_sock;1458 if (options.control_path != NULL && muxserver_sock != -1) in main()1491 close(muxserver_sock); in control_persist_detach()1492 muxserver_sock = -1; in control_persist_detach()1977 if (options.control_persist && muxserver_sock != -1) { in ssh_session2()1993 if (options.control_persist && muxserver_sock == -1) in ssh_session2()
129 extern int muxserver_sock; /* XXX use mux_client_cleanup() instead */265 if (muxserver_sock == -1 || !options.control_persist in set_control_persist_exit_time()2757 if (options.control_path != NULL && muxserver_sock != -1) in client_stop_mux()2775 if (options.control_path != NULL && muxserver_sock != -1) in cleanup_exit()