summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authormouring <mouring>2001-03-05 06:28:06 +0000
committermouring <mouring>2001-03-05 06:28:06 +0000
commita499946528723785a8240ebe74a0f558d638fa73 (patch)
tree752aac3c7e6d8bcf3350fb896b06deafa217f982 /packet.h
parent4eda633976e24f22a885e6b51911ca6a5af0ae15 (diff)
downloadopenssh-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 059bb27a..e5432714 100644
--- a/packet.h
+++ b/packet.h
@@ -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 */