summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 18:12:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 18:12:20 +1000
commitf7288d77e4e705cbbc12c2ad55ed50f9de9a87e2 (patch)
tree77f63923d1bc97e2aeda861699e1d2d00d645eda /packet.h
parent51dbe503bf92ee38f003ffde4bb0a0d85c438ea7 (diff)
- andreas@cvs.openbsd.org 2009/05/27 06:31:25
[canohost.h canohost.c] Add clear_cached_addr(), needed for upcoming changes allowing the peer address to change. ok markus@
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/packet.h b/packet.h
index 03bb87c9b..9a9c97719 100644
--- a/packet.h
+++ b/packet.h
@@ -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 *);
72void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); 72void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t);
73int packet_get_ssh1_cipher(void); 73int packet_get_ssh1_cipher(void);
74void packet_set_iv(int, u_char *); 74void packet_set_iv(int, u_char *);
75void *packet_get_newkeys(int);
75 76
76void packet_write_poll(void); 77void packet_write_poll(void);
77void packet_write_wait(void); 78void packet_write_wait(void);
@@ -87,10 +88,10 @@ void packet_add_padding(u_char);
87void tty_make_modes(int, struct termios *); 88void tty_make_modes(int, struct termios *);
88void tty_parse_modes(int, int *); 89void tty_parse_modes(int, int *);
89 90
90extern u_int max_packet_size; 91void packet_set_alive_timeouts(int);
91extern int keep_alive_timeouts; 92int packet_inc_alive_timeouts(void);
92int packet_set_maxsize(u_int); 93int packet_set_maxsize(u_int);
93#define packet_get_maxsize() max_packet_size 94u_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 { \
106int packet_need_rekeying(void); 107int packet_need_rekeying(void);
107void packet_set_rekey_limit(u_int32_t); 108void packet_set_rekey_limit(u_int32_t);
108 109
110void *packet_get_input(void);
111void *packet_get_output(void);
112
109#endif /* PACKET_H */ 113#endif /* PACKET_H */