diff options
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 | ||
23 | void packet_set_connection(int, int, int); | 23 | void packet_set_connection(int, int); |
24 | void packet_set_timeout(int, int); | ||
24 | void packet_set_nonblocking(void); | 25 | void packet_set_nonblocking(void); |
25 | int packet_get_connection_in(void); | 26 | int packet_get_connection_in(void); |
26 | int packet_get_connection_out(void); | 27 | int packet_get_connection_out(void); |
@@ -58,6 +59,7 @@ void packet_get_bignum(BIGNUM * value); | |||
58 | void packet_get_bignum2(BIGNUM * value); | 59 | void packet_get_bignum2(BIGNUM * value); |
59 | void *packet_get_raw(u_int *length_ptr); | 60 | void *packet_get_raw(u_int *length_ptr); |
60 | void *packet_get_string(u_int *length_ptr); | 61 | void *packet_get_string(u_int *length_ptr); |
62 | void *packet_get_string_ptr(u_int *length_ptr); | ||
61 | void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2))); | 63 | void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2))); |
62 | void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); | 64 | void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); |
63 | 65 | ||
@@ -66,8 +68,8 @@ int packet_get_keyiv_len(int); | |||
66 | void packet_get_keyiv(int, u_char *, u_int); | 68 | void packet_get_keyiv(int, u_char *, u_int); |
67 | int packet_get_keycontext(int, u_char *); | 69 | int packet_get_keycontext(int, u_char *); |
68 | void packet_set_keycontext(int, u_char *); | 70 | void packet_set_keycontext(int, u_char *); |
69 | void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *); | 71 | void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *, u_int64_t *); |
70 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t); | 72 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); |
71 | int packet_get_ssh1_cipher(void); | 73 | int packet_get_ssh1_cipher(void); |
72 | void packet_set_iv(int, u_char *); | 74 | void packet_set_iv(int, u_char *); |
73 | 75 | ||
@@ -86,6 +88,7 @@ void tty_make_modes(int, struct termios *); | |||
86 | void tty_parse_modes(int, int *); | 88 | void tty_parse_modes(int, int *); |
87 | 89 | ||
88 | extern u_int max_packet_size; | 90 | extern u_int max_packet_size; |
91 | extern int keep_alive_timeouts; | ||
89 | int packet_set_maxsize(u_int); | 92 | int packet_set_maxsize(u_int); |
90 | #define packet_get_maxsize() max_packet_size | 93 | #define packet_get_maxsize() max_packet_size |
91 | 94 | ||