=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/packet.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/ssh/packet.h 1999/11/15 21:38:54 1.3 +++ src/usr.bin/ssh/packet.h 1999/11/19 19:58:18 1.4 @@ -13,7 +13,7 @@ */ -/* RCSID("$Id: packet.h,v 1.3 1999/11/15 21:38:54 markus Exp $"); */ +/* RCSID("$Id: packet.h,v 1.4 1999/11/19 19:58:18 markus Exp $"); */ #ifndef PACKET_H #define PACKET_H @@ -146,6 +146,11 @@ /* Returns true if there is not too much data to write to the connection. */ int packet_not_very_much_data_to_write(void); + +/* maximum packet size, requested by client with SSH_CMSG_MAX_PACKET_SIZE */ +extern int max_packet_size; +int packet_set_maxsize(int s); +#define packet_get_maxsize() max_packet_size /* Stores tty modes from the fd into current packet. */ void tty_make_modes(int fd);