Lines Matching defs:fwd
727 struct Forward fwd;
729 memset(&fwd, 0, sizeof(fwd));
740 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 ||
744 fwd.listen_host, port);
746 fwd.listen_port = (int)port;
752 (!want_reply && fwd.listen_port == 0)) {
757 success = channel_setup_remote_fwd_listener(ssh, &fwd,
766 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_host, NULL)) != 0 ||
771 fwd.listen_host, port);
773 fwd.listen_port = (int)port;
774 success = channel_cancel_rport_listener(ssh, &fwd);
777 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0)
780 fwd.listen_path);
792 &fwd, NULL, &options.fwd_opts);
795 if ((r = sshpkt_get_cstring(ssh, &fwd.listen_path, NULL)) != 0)
798 fwd.listen_path);
800 success = channel_cancel_rport_listener(ssh, &fwd);
816 free(fwd.listen_host);
817 free(fwd.listen_path);