diff options
author | mouring <mouring> | 2001-03-05 06:28:06 +0000 |
---|---|---|
committer | mouring <mouring> | 2001-03-05 06:28:06 +0000 |
commit | a499946528723785a8240ebe74a0f558d638fa73 (patch) | |
tree | 752aac3c7e6d8bcf3350fb896b06deafa217f982 /packet.h | |
parent | 4eda633976e24f22a885e6b51911ca6a5af0ae15 (diff) | |
download | openssh-a499946528723785a8240ebe74a0f558d638fa73.tar.gz |
- markus@cvs.openbsd.org 2001/02/28 21:27:48
[channels.c packet.c packet.h serverloop.c]
use ignore message to simulate a SSH2_MSG_CHANNEL_DATA message
use random content in ignore messages.
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,7 @@ * called by a name other than "ssh" or "Secure Shell". */ -/* RCSID("$OpenBSD: packet.h,v 1.20 2001/02/28 09:57:07 markus Exp $"); */ +/* RCSID("$OpenBSD: packet.h,v 1.21 2001/02/28 21:27:47 markus Exp $"); */ #ifndef PACKET_H #define PACKET_H @@ -215,6 +215,9 @@ void packet_set_ssh2_format(void); int packet_remaining(void); /* append an ignore message */ +void packet_send_ignore(int nbytes); + +/* add an ignore message and make sure size (current+ignore) = n*sumlen */ void packet_inject_ignore(int sumlen); #endif /* PACKET_H */ |