diff options
Diffstat (limited to 'roaming.h')
-rw-r--r-- | roaming.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: roaming.h,v 1.4 2009/06/27 09:32:43 andreas Exp $ */ | 1 | /* $OpenBSD: roaming.h,v 1.5 2009/10/24 11:11:58 andreas Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2004-2009 AppGate Network Security AB | 3 | * Copyright (c) 2004-2009 AppGate Network Security AB |
4 | * | 4 | * |
@@ -19,12 +19,17 @@ | |||
19 | #define ROAMING_H | 19 | #define ROAMING_H |
20 | 20 | ||
21 | #define DEFAULT_ROAMBUF 65536 | 21 | #define DEFAULT_ROAMBUF 65536 |
22 | #define ROAMING_REQUEST "roaming@appgate.com" | ||
22 | 23 | ||
24 | extern int roaming_enabled; | ||
23 | extern int resume_in_progress; | 25 | extern int resume_in_progress; |
24 | 26 | ||
27 | void request_roaming(void); | ||
25 | int get_snd_buf_size(void); | 28 | int get_snd_buf_size(void); |
26 | int get_recv_buf_size(void); | 29 | int get_recv_buf_size(void); |
27 | void add_recv_bytes(u_int64_t); | 30 | void add_recv_bytes(u_int64_t); |
31 | int wait_for_roaming_reconnect(void); | ||
32 | void roaming_reply(int, u_int32_t, void *); | ||
28 | void set_out_buffer_size(size_t); | 33 | void set_out_buffer_size(size_t); |
29 | ssize_t roaming_write(int, const void *, size_t, int *); | 34 | ssize_t roaming_write(int, const void *, size_t, int *); |
30 | ssize_t roaming_read(int, void *, size_t, int *); | 35 | ssize_t roaming_read(int, void *, size_t, int *); |
@@ -33,6 +38,7 @@ u_int64_t get_recv_bytes(void); | |||
33 | u_int64_t get_sent_bytes(void); | 38 | u_int64_t get_sent_bytes(void); |
34 | void roam_set_bytes(u_int64_t, u_int64_t); | 39 | void roam_set_bytes(u_int64_t, u_int64_t); |
35 | void resend_bytes(int, u_int64_t *); | 40 | void resend_bytes(int, u_int64_t *); |
41 | void calculate_new_key(u_int64_t *, u_int64_t, u_int64_t); | ||
36 | int resume_kex(void); | 42 | int resume_kex(void); |
37 | 43 | ||
38 | #endif /* ROAMING */ | 44 | #endif /* ROAMING */ |