Lines Matching refs:fwd
786 struct Forward fwd;
788 memset(&fwd, 0, sizeof(fwd));
799 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 ||
803 fwd.listen_host, port);
805 fwd.listen_port = (int)port;
811 (!want_reply && fwd.listen_port == 0)) {
816 success = channel_setup_remote_fwd_listener(ssh, &fwd,
825 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 ||
830 fwd.listen_host, port);
832 fwd.listen_port = (int)port;
833 success = channel_cancel_rport_listener(ssh, &fwd);
836 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0)
839 fwd.listen_path);
851 &fwd, NULL, &options.fwd_opts);
854 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0)
857 fwd.listen_path);
859 success = channel_cancel_rport_listener(ssh, &fwd);
875 free(fwd.listen_host);
876 free(fwd.listen_path);