diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 06:28:06 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 06:28:06 +0000 |
commit | e229b25a9efc4924f9b45a34de0aef491ae35d09 (patch) | |
tree | 168b2a8e9d3615a86d39fd9d57b78053fc360b45 /packet.h | |
parent | 941ac82e1624e7d7bb7091785ca525889738420b (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.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 */ |