*/
#include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.67 2001/06/20 13:56:39 markus Exp $");
+RCSID("$OpenBSD: packet.c,v 1.68 2001/06/23 15:12:19 itojun Exp $");
#include "xmalloc.h"
#include "buffer.h"
* Level is compression level 1 (fastest) - 9 (slow, best) as in gzip.
*/
-void
-packet_init_compression()
+static void
+packet_init_compression(void)
{
if (compression_buffer_ready == 1)
return;
* encrypts the packet before sending.
*/
-void
+static void
packet_send1(void)
{
char buf[8], *cp;
*/
}
-void
+static void
set_newkeys(int mode)
{
Enc *enc;
/*
* Finalize packet in SSH2 format (compress, mac, encrypt, enqueue)
*/
-void
+static void
packet_send2(void)
{
static u_int32_t seqnr = 0;
* Check bytes
*/
-int
+static int
packet_read_poll1(int *payload_len_ptr)
{
u_int len, padded_len;
return type;
}
-int
+static int
packet_read_poll2(int *payload_len_ptr)
{
static u_int32_t seqnr = 0;