Searched refs:muxserver_sock (Results 1 – 3 of 3) sorted by relevance
120 int muxserver_sock = -1; variable1088 muxserver_sock = -1; in process_mux_stop_listening()1257 muxserver_sock = unix_listener(options.control_path, 64, 0); in muxserver_listen()1260 if (muxserver_sock < 0) { in muxserver_listen()1265 if (muxserver_sock != -1) { in muxserver_listen()1266 close(muxserver_sock); in muxserver_listen()1267 muxserver_sock = -1; in muxserver_listen()1296 set_nonblock(muxserver_sock); in muxserver_listen()1299 SSH_CHANNEL_MUX_LISTENER, muxserver_sock, muxserver_sock, -1, in muxserver_listen()
194 extern int muxserver_sock;1361 if (options.control_path != NULL && muxserver_sock != -1) in main()1394 close(muxserver_sock); in control_persist_detach()1395 muxserver_sock = -1; in control_persist_detach()1877 if (options.control_persist && muxserver_sock != -1) { in ssh_session2()1893 if (options.control_persist && muxserver_sock == -1) in ssh_session2()
127 extern int muxserver_sock; /* XXX use mux_client_cleanup() instead */265 if (muxserver_sock == -1 || !options.control_persist in set_control_persist_exit_time()2654 if (options.control_path != NULL && muxserver_sock != -1) in client_stop_mux()2672 if (options.control_path != NULL && muxserver_sock != -1) in cleanup_exit()