summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/packet.h b/packet.h
index 3782949e8..03bb87c9b 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.45 2006/03/25 22:22:43 djm Exp $ */ 1/* $OpenBSD: packet.h,v 1.49 2008/07/10 18:08:11 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -20,7 +20,8 @@
20 20
21#include <openssl/bn.h> 21#include <openssl/bn.h>
22 22
23void packet_set_connection(int, int, int); 23void packet_set_connection(int, int);
24void packet_set_timeout(int, int);
24void packet_set_nonblocking(void); 25void packet_set_nonblocking(void);
25int packet_get_connection_in(void); 26int packet_get_connection_in(void);
26int packet_get_connection_out(void); 27int packet_get_connection_out(void);
@@ -58,6 +59,7 @@ void packet_get_bignum(BIGNUM * value);
58void packet_get_bignum2(BIGNUM * value); 59void packet_get_bignum2(BIGNUM * value);
59void *packet_get_raw(u_int *length_ptr); 60void *packet_get_raw(u_int *length_ptr);
60void *packet_get_string(u_int *length_ptr); 61void *packet_get_string(u_int *length_ptr);
62void *packet_get_string_ptr(u_int *length_ptr);
61void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2))); 63void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
62void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); 64void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
63 65
@@ -66,8 +68,8 @@ int packet_get_keyiv_len(int);
66void packet_get_keyiv(int, u_char *, u_int); 68void packet_get_keyiv(int, u_char *, u_int);
67int packet_get_keycontext(int, u_char *); 69int packet_get_keycontext(int, u_char *);
68void packet_set_keycontext(int, u_char *); 70void packet_set_keycontext(int, u_char *);
69void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *); 71void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *, u_int64_t *);
70void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t); 72void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t);
71int packet_get_ssh1_cipher(void); 73int packet_get_ssh1_cipher(void);
72void packet_set_iv(int, u_char *); 74void packet_set_iv(int, u_char *);
73 75
@@ -86,6 +88,7 @@ void tty_make_modes(int, struct termios *);
86void tty_parse_modes(int, int *); 88void tty_parse_modes(int, int *);
87 89
88extern u_int max_packet_size; 90extern u_int max_packet_size;
91extern int keep_alive_timeouts;
89int packet_set_maxsize(u_int); 92int packet_set_maxsize(u_int);
90#define packet_get_maxsize() max_packet_size 93#define packet_get_maxsize() max_packet_size
91 94