summaryrefslogtreecommitdiff
path: root/roaming.h
diff options
context:
space:
mode:
Diffstat (limited to 'roaming.h')
-rw-r--r--roaming.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/roaming.h b/roaming.h
index e517161f6..6bb94cc39 100644
--- a/roaming.h
+++ b/roaming.h
@@ -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
24extern int roaming_enabled;
23extern int resume_in_progress; 25extern int resume_in_progress;
24 26
27void request_roaming(void);
25int get_snd_buf_size(void); 28int get_snd_buf_size(void);
26int get_recv_buf_size(void); 29int get_recv_buf_size(void);
27void add_recv_bytes(u_int64_t); 30void add_recv_bytes(u_int64_t);
31int wait_for_roaming_reconnect(void);
32void roaming_reply(int, u_int32_t, void *);
28void set_out_buffer_size(size_t); 33void set_out_buffer_size(size_t);
29ssize_t roaming_write(int, const void *, size_t, int *); 34ssize_t roaming_write(int, const void *, size_t, int *);
30ssize_t roaming_read(int, void *, size_t, int *); 35ssize_t roaming_read(int, void *, size_t, int *);
@@ -33,6 +38,7 @@ u_int64_t get_recv_bytes(void);
33u_int64_t get_sent_bytes(void); 38u_int64_t get_sent_bytes(void);
34void roam_set_bytes(u_int64_t, u_int64_t); 39void roam_set_bytes(u_int64_t, u_int64_t);
35void resend_bytes(int, u_int64_t *); 40void resend_bytes(int, u_int64_t *);
41void calculate_new_key(u_int64_t *, u_int64_t, u_int64_t);
36int resume_kex(void); 42int resume_kex(void);
37 43
38#endif /* ROAMING */ 44#endif /* ROAMING */