summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authormouring <mouring>2002-06-25 23:17:36 +0000
committermouring <mouring>2002-06-25 23:17:36 +0000
commitc8ac9b2f4d3949fb1f193942d2aa54ccd2df1fbc (patch)
tree67055e6b84622c988ab8ad8b55a994131fa4479c /channels.h
parentfa566aa8e9d1fe206bad1b012d0004ab7edd0aa3 (diff)
downloadopenssh-c8ac9b2f4d3949fb1f193942d2aa54ccd2df1fbc.tar.gz
- 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 64f6c41f..dd54114d 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.h,v 1.69 2002/06/23 21:06:41 deraadt Exp $ */
+/* $OpenBSD: channels.h,v 1.70 2002/06/24 14:33:27 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -90,12 +90,12 @@ struct Channel {
int host_port; /* remote port to connect for forwards */
char *remote_name; /* remote hostname */
- int remote_window;
- int remote_maxpacket;
- int local_window;
- int local_window_max;
- int local_consumed;
- int local_maxpacket;
+ u_int remote_window;
+ u_int remote_maxpacket;
+ u_int local_window;
+ u_int local_window_max;
+ u_int local_consumed;
+ u_int local_maxpacket;
int extended_usage;
int single_connection;
@@ -151,7 +151,7 @@ struct Channel {
/* channel management */
Channel *channel_lookup(int);
-Channel *channel_new(char *, int, int, int, int, int, int, int, char *, int);
+Channel *channel_new(char *, int, int, int, int, u_int, u_int, int, char *, int);
void channel_set_fds(int, int, int, int, int, int, u_int);
void channel_free(Channel *);
void channel_free_all(void);