summaryrefslogtreecommitdiffstats
path: root/clientloop.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-09-22 21:38:52 +1000
committerDamien Miller <djm@mindrot.org>2011-09-22 21:38:52 +1000
commitf6dff7cd2ff5eba5cd63e3a9c7bf6ccf183cb056 (patch)
treeca2f37e390f5f26598341a09435dabed25648d46 /clientloop.h
parent9ee2c606c1d03ecb955aa8a2624b9db4aa9752a2 (diff)
- djm@cvs.openbsd.org 2011/09/09 22:46:44
[channels.c channels.h clientloop.h mux.c ssh.c] support for cancelling local and remote port forwards via the multiplex socket. Use ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host" to request the cancellation of the specified forwardings; ok markus@
Diffstat (limited to 'clientloop.h')
-rw-r--r--clientloop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clientloop.h b/clientloop.h
index a259b5e1..3bb79487 100644
--- a/clientloop.h
+++ b/clientloop.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.h,v 1.28 2011/06/22 22:08:42 djm Exp $ */
+/* $OpenBSD: clientloop.h,v 1.29 2011/09/09 22:46:44 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -70,6 +70,7 @@ void client_expect_confirm(int, const char *, enum confirm_action);
#define SSHMUX_COMMAND_STDIO_FWD 4 /* Open stdio fwd (ssh -W) */
#define SSHMUX_COMMAND_FORWARD 5 /* Forward only, no command */
#define SSHMUX_COMMAND_STOP 6 /* Disable mux but not conn */
+#define SSHMUX_COMMAND_CANCEL_FWD 7 /* Cancel forwarding(s) */
void muxserver_listen(void);
void muxclient(const char *);