projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Protocol version 1.2 integrations
[silc.git]
/
apps
/
silcd
/
server_internal.h
diff --git
a/apps/silcd/server_internal.h
b/apps/silcd/server_internal.h
index 1fb5201e81c1848ea8359b83bb1386ed9228eca6..406d4338f1e5fa6b291a6a7fa65b2fca5f3d6673 100644
(file)
--- a/
apps/silcd/server_internal.h
+++ b/
apps/silcd/server_internal.h
@@
-152,6
+152,9
@@
typedef struct {
SilcUInt32 failure;
} *SilcServerFailureContext;
SilcUInt32 failure;
} *SilcServerFailureContext;
+/* Rekey must be performed at the lastest when this many packets is sent */
+#define SILC_SERVER_REKEY_THRESHOLD 0xfffffe00
+
/* Macros */
/* Return pointer to the primary router connection */
/* Macros */
/* Return pointer to the primary router connection */
@@
-228,6
+231,7
@@
do { \
/* Prototypes */
SILC_TASK_CALLBACK_GLOBAL(silc_server_rekey_final);
/* Prototypes */
SILC_TASK_CALLBACK_GLOBAL(silc_server_rekey_final);
+SILC_TASK_CALLBACK_GLOBAL(silc_server_rekey_callback);
void silc_server_watcher_list_destroy(void *key, void *context,
void *user_context);
void silc_server_watcher_list_destroy(void *key, void *context,
void *user_context);