summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-05 06:28:06 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-05 06:28:06 +0000
commite229b25a9efc4924f9b45a34de0aef491ae35d09 (patch)
tree168b2a8e9d3615a86d39fd9d57b78053fc360b45 /packet.h
parent941ac82e1624e7d7bb7091785ca525889738420b (diff)
- 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 059bb27a0..e5432714e 100644
--- a/packet.h
+++ b/packet.h
@@ -11,7 +11,7 @@
11 * called by a name other than "ssh" or "Secure Shell". 11 * called by a name other than "ssh" or "Secure Shell".
12 */ 12 */
13 13
14/* RCSID("$OpenBSD: packet.h,v 1.20 2001/02/28 09:57:07 markus Exp $"); */ 14/* RCSID("$OpenBSD: packet.h,v 1.21 2001/02/28 21:27:47 markus Exp $"); */
15 15
16#ifndef PACKET_H 16#ifndef PACKET_H
17#define PACKET_H 17#define PACKET_H
@@ -215,6 +215,9 @@ void packet_set_ssh2_format(void);
215int packet_remaining(void); 215int packet_remaining(void);
216 216
217/* append an ignore message */ 217/* append an ignore message */
218void packet_send_ignore(int nbytes);
219
220/* add an ignore message and make sure size (current+ignore) = n*sumlen */
218void packet_inject_ignore(int sumlen); 221void packet_inject_ignore(int sumlen);
219 222
220#endif /* PACKET_H */ 223#endif /* PACKET_H */