summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-25 23:17:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-25 23:17:36 +0000
commit4fed2be856c2677c4b92825dfcfcbb178c241a8c (patch)
tree1a3bf6c31c0d08a5af67ded3d4e15c3d8b9374ce /channels.h
parentb48057b7dca215efab35ab5a273ae7834f24953a (diff)
- markus@cvs.openbsd.org 2002/06/24 14:33:27
[channels.c channels.h clientloop.c serverloop.c] move channel counter to u_int
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/channels.h b/channels.h
index 64f6c41fa..dd54114d6 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.h,v 1.69 2002/06/23 21:06:41 deraadt Exp $ */ 1/* $OpenBSD: channels.h,v 1.70 2002/06/24 14:33:27 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -90,12 +90,12 @@ struct Channel {
90 int host_port; /* remote port to connect for forwards */ 90 int host_port; /* remote port to connect for forwards */
91 char *remote_name; /* remote hostname */ 91 char *remote_name; /* remote hostname */
92 92
93 int remote_window; 93 u_int remote_window;
94 int remote_maxpacket; 94 u_int remote_maxpacket;
95 int local_window; 95 u_int local_window;
96 int local_window_max; 96 u_int local_window_max;
97 int local_consumed; 97 u_int local_consumed;
98 int local_maxpacket; 98 u_int local_maxpacket;
99 int extended_usage; 99 int extended_usage;
100 int single_connection; 100 int single_connection;
101 101
@@ -151,7 +151,7 @@ struct Channel {
151/* channel management */ 151/* channel management */
152 152
153Channel *channel_lookup(int); 153Channel *channel_lookup(int);
154Channel *channel_new(char *, int, int, int, int, int, int, int, char *, int); 154Channel *channel_new(char *, int, int, int, int, u_int, u_int, int, char *, int);
155void channel_set_fds(int, int, int, int, int, int, u_int); 155void channel_set_fds(int, int, int, int, int, int, u_int);
156void channel_free(Channel *); 156void channel_free(Channel *);
157void channel_free_all(void); 157void channel_free_all(void);