projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep last known address and time since reachability changed.
[tinc]
/
src
/
node.h
diff --git
a/src/node.h
b/src/node.h
index
e7f1f62
..
dad926c
100644
(file)
--- a/
src/node.h
+++ b/
src/node.h
@@
-47,6
+47,7
@@
typedef struct node_t {
char *hostname; /* the hostname of its real ip */
node_status_t status;
char *hostname; /* the hostname of its real ip */
node_status_t status;
+ time_t last_state_change;
time_t last_req_key;
ecdsa_t ecdsa; /* His public ECDSA key */
time_t last_req_key;
ecdsa_t ecdsa; /* His public ECDSA key */
@@
-91,7
+92,6
@@
typedef struct node_t {
extern struct node_t *myself;
extern splay_tree_t *node_tree;
extern struct node_t *myself;
extern splay_tree_t *node_tree;
-extern splay_tree_t *node_udp_tree;
extern void init_nodes(void);
extern void exit_nodes(void);
extern void init_nodes(void);
extern void exit_nodes(void);