Searched refs:remote_forwards (Results 1 – 4 of 4) sorted by relevance
1429 if (options.remote_forwards[i].listen_path != NULL) { in main()1430 cp = options.remote_forwards[i].listen_path; in main()1431 p = options.remote_forwards[i].listen_path = in main()1439 if (options.remote_forwards[i].connect_path != NULL) { in main()1440 cp = options.remote_forwards[i].connect_path; in main()1441 p = options.remote_forwards[i].connect_path = in main()1884 (options.remote_forwards[i].listen_path != NULL) ? in ssh_init_forwarding()1885 options.remote_forwards[i].listen_path : in ssh_init_forwarding()1886 (options.remote_forwards[i].listen_host == NULL) ? in ssh_init_forwarding()1887 "LOCALHOST" : options.remote_forwards[i].listen_host, in ssh_init_forwarding()[all …]
387 if (forward_equals(newfwd, options->remote_forwards + i)) in add_remote_forward()390 options->remote_forwards = xreallocarray(options->remote_forwards, in add_remote_forward()392 sizeof(*options->remote_forwards)); in add_remote_forward()393 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward()422 free(options->remote_forwards[i].listen_host); in clear_forwardings()423 free(options->remote_forwards[i].listen_path); in clear_forwardings()424 free(options->remote_forwards[i].connect_host); in clear_forwardings()425 free(options->remote_forwards[i].connect_path); in clear_forwardings()428 free(options->remote_forwards); in clear_forwardings()429 options->remote_forwards = NULL; in clear_forwardings()[all …]
108 struct Forward *remote_forwards; member
624 (options.remote_forwards[fctx->fid].connect_path == NULL && in mux_confirm_remote_forward()625 options.remote_forwards[fctx->fid].connect_host == NULL)) { in mux_confirm_remote_forward()629 rfwd = &options.remote_forwards[fctx->fid]; in mux_confirm_remote_forward()794 if (!compare_forward(&fwd, options.remote_forwards + i)) in mux_master_process_open_fwd()803 options.remote_forwards[i].allocated_port)) != 0) in mux_master_process_open_fwd()927 options.remote_forwards + i)) { in mux_master_process_close_fwd()928 found_fwd = options.remote_forwards + i; in mux_master_process_close_fwd()1891 options.remote_forwards + i) != 0) in mux_client_forwards()