Searched refs:remote_forwards (Results 1 – 4 of 4) sorted by relevance
1571 if (options.remote_forwards[i].listen_path != NULL) { in main()1572 cp = options.remote_forwards[i].listen_path; in main()1573 p = options.remote_forwards[i].listen_path = in main()1580 if (options.remote_forwards[i].connect_path != NULL) { in main()1581 cp = options.remote_forwards[i].connect_path; in main()1582 p = options.remote_forwards[i].connect_path = in main()2081 (options.remote_forwards[i].listen_path != NULL) ? in ssh_init_forwarding()2082 options.remote_forwards[i].listen_path : in ssh_init_forwarding()2083 (options.remote_forwards[i].listen_host == NULL) ? in ssh_init_forwarding()2084 "LOCALHOST" : options.remote_forwards[i].listen_host, in ssh_init_forwarding()[all …]
414 if (forward_equals(newfwd, options->remote_forwards + i)) in add_remote_forward()417 options->remote_forwards = xreallocarray(options->remote_forwards, in add_remote_forward()419 sizeof(*options->remote_forwards)); in add_remote_forward()420 fwd = &options->remote_forwards[options->num_remote_forwards++]; in add_remote_forward()449 free(options->remote_forwards[i].listen_host); in clear_forwardings()450 free(options->remote_forwards[i].listen_path); in clear_forwardings()451 free(options->remote_forwards[i].connect_host); in clear_forwardings()452 free(options->remote_forwards[i].connect_path); in clear_forwardings()455 free(options->remote_forwards); in clear_forwardings()456 options->remote_forwards = NULL; in clear_forwardings()[all …]
110 struct Forward *remote_forwards; member
613 (options.remote_forwards[fctx->fid].connect_path == NULL && in mux_confirm_remote_forward()614 options.remote_forwards[fctx->fid].connect_host == NULL)) { in mux_confirm_remote_forward()618 rfwd = &options.remote_forwards[fctx->fid]; in mux_confirm_remote_forward()780 if (!compare_forward(&fwd, options.remote_forwards + i)) in mux_master_process_open_fwd()789 options.remote_forwards[i].allocated_port)) != 0) in mux_master_process_open_fwd()913 options.remote_forwards + i)) { in mux_master_process_close_fwd()914 found_fwd = options.remote_forwards + i; in mux_master_process_close_fwd()1877 options.remote_forwards + i) != 0) in mux_client_forwards()