diff options
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.h,v 1.49 2008/07/10 18:08:11 markus Exp $ */ | 1 | /* $OpenBSD: packet.h,v 1.50 2009/05/25 06:48:01 andreas Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -72,6 +72,7 @@ void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *, u_int64_t *); | |||
72 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); | 72 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); |
73 | int packet_get_ssh1_cipher(void); | 73 | int packet_get_ssh1_cipher(void); |
74 | void packet_set_iv(int, u_char *); | 74 | void packet_set_iv(int, u_char *); |
75 | void *packet_get_newkeys(int); | ||
75 | 76 | ||
76 | void packet_write_poll(void); | 77 | void packet_write_poll(void); |
77 | void packet_write_wait(void); | 78 | void packet_write_wait(void); |
@@ -87,10 +88,10 @@ void packet_add_padding(u_char); | |||
87 | void tty_make_modes(int, struct termios *); | 88 | void tty_make_modes(int, struct termios *); |
88 | void tty_parse_modes(int, int *); | 89 | void tty_parse_modes(int, int *); |
89 | 90 | ||
90 | extern u_int max_packet_size; | 91 | void packet_set_alive_timeouts(int); |
91 | extern int keep_alive_timeouts; | 92 | int packet_inc_alive_timeouts(void); |
92 | int packet_set_maxsize(u_int); | 93 | int packet_set_maxsize(u_int); |
93 | #define packet_get_maxsize() max_packet_size | 94 | u_int packet_get_maxsize(void); |
94 | 95 | ||
95 | /* don't allow remaining bytes after the end of the message */ | 96 | /* don't allow remaining bytes after the end of the message */ |
96 | #define packet_check_eom() \ | 97 | #define packet_check_eom() \ |
@@ -106,4 +107,7 @@ do { \ | |||
106 | int packet_need_rekeying(void); | 107 | int packet_need_rekeying(void); |
107 | void packet_set_rekey_limit(u_int32_t); | 108 | void packet_set_rekey_limit(u_int32_t); |
108 | 109 | ||
110 | void *packet_get_input(void); | ||
111 | void *packet_get_output(void); | ||
112 | |||
109 | #endif /* PACKET_H */ | 113 | #endif /* PACKET_H */ |