diff options
author | Damien Miller <djm@mindrot.org> | 2011-09-22 21:39:48 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-09-22 21:39:48 +1000 |
commit | ff773644e6892e6d3999b0e0c69f05b56705eabc (patch) | |
tree | 56f792434d92ef52dd0e05a00b9295ba52bcc64e /channels.h | |
parent | f6dff7cd2ff5eba5cd63e3a9c7bf6ccf183cb056 (diff) |
- markus@cvs.openbsd.org 2011/09/10 22:26:34
[channels.c channels.h clientloop.c ssh.1]
support cancellation of local/dynamic forwardings from ~C commandline;
ok & feedback djm@
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/channels.h b/channels.h index 37af32289..ff84ea54f 100644 --- a/channels.h +++ b/channels.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.h,v 1.106 2011/09/09 22:46:44 djm Exp $ */ | 1 | /* $OpenBSD: channels.h,v 1.107 2011/09/10 22:26:34 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -57,6 +57,8 @@ | |||
57 | #define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */ | 57 | #define SSH_CHANNEL_MUX_CLIENT 16 /* Conn. to mux slave */ |
58 | #define SSH_CHANNEL_MAX_TYPE 17 | 58 | #define SSH_CHANNEL_MAX_TYPE 17 |
59 | 59 | ||
60 | #define CHANNEL_CANCEL_PORT_STATIC -1 | ||
61 | |||
60 | struct Channel; | 62 | struct Channel; |
61 | typedef struct Channel Channel; | 63 | typedef struct Channel Channel; |
62 | 64 | ||
@@ -265,7 +267,7 @@ int channel_setup_local_fwd_listener(const char *, u_short, | |||
265 | int channel_request_rforward_cancel(const char *host, u_short port); | 267 | int channel_request_rforward_cancel(const char *host, u_short port); |
266 | int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); | 268 | int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); |
267 | int channel_cancel_rport_listener(const char *, u_short); | 269 | int channel_cancel_rport_listener(const char *, u_short); |
268 | int channel_cancel_lport_listener(const char *, u_short, u_short, int); | 270 | int channel_cancel_lport_listener(const char *, u_short, int, int); |
269 | 271 | ||
270 | /* x11 forwarding */ | 272 | /* x11 forwarding */ |
271 | 273 | ||