summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index e2941c85a..37af32289 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.h,v 1.105 2011/06/22 22:08:42 djm Exp $ */ 1/* $OpenBSD: channels.h,v 1.106 2011/09/09 22:46:44 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -116,6 +116,7 @@ struct Channel {
116 char *path; 116 char *path;
117 /* path for unix domain sockets, or host name for forwards */ 117 /* path for unix domain sockets, or host name for forwards */
118 int listening_port; /* port being listened for forwards */ 118 int listening_port; /* port being listened for forwards */
119 char *listening_addr; /* addr being listened for forwards */
119 int host_port; /* remote port to connect for forwards */ 120 int host_port; /* remote port to connect for forwards */
120 char *remote_name; /* remote hostname */ 121 char *remote_name; /* remote hostname */
121 122
@@ -261,9 +262,10 @@ int channel_request_remote_forwarding(const char *, u_short,
261 const char *, u_short); 262 const char *, u_short);
262int channel_setup_local_fwd_listener(const char *, u_short, 263int channel_setup_local_fwd_listener(const char *, u_short,
263 const char *, u_short, int); 264 const char *, u_short, int);
264void channel_request_rforward_cancel(const char *host, u_short port); 265int channel_request_rforward_cancel(const char *host, u_short port);
265int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); 266int channel_setup_remote_fwd_listener(const char *, u_short, int *, int);
266int channel_cancel_rport_listener(const char *, u_short); 267int channel_cancel_rport_listener(const char *, u_short);
268int channel_cancel_lport_listener(const char *, u_short, u_short, int);
267 269
268/* x11 forwarding */ 270/* x11 forwarding */
269 271