Searched refs:muxserver_sock (Results 1 – 3 of 3) sorted by relevance
120 int muxserver_sock = -1; variable944 muxserver_sock = -1; in process_mux_stop_listening()1125 if ((muxserver_sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) in muxserver_listen()1129 if (bind(muxserver_sock, (struct sockaddr *)&addr, sun_len) == -1) { in muxserver_listen()1134 if (muxserver_sock != -1) { in muxserver_listen()1135 close(muxserver_sock); in muxserver_listen()1136 muxserver_sock = -1; in muxserver_listen()1147 if (listen(muxserver_sock, 64) == -1) in muxserver_listen()1167 set_nonblock(muxserver_sock); in muxserver_listen()1170 SSH_CHANNEL_MUX_LISTENER, muxserver_sock, muxserver_sock, -1, in muxserver_listen()
190 extern int muxserver_sock;947 if (options.control_path != NULL && muxserver_sock != -1) in main()980 close(muxserver_sock); in control_persist_detach()981 muxserver_sock = -1; in control_persist_detach()1425 if (options.control_persist && muxserver_sock != -1) { in ssh_session2()
124 extern int muxserver_sock; /* XXX use mux_client_cleanup() instead */265 if (muxserver_sock == -1 || !options.control_persist in set_control_persist_exit_time()2153 if (options.control_path != NULL && muxserver_sock != -1) in client_stop_mux()2171 if (options.control_path != NULL && muxserver_sock != -1) in cleanup_exit()