projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the scripts test.
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
c3c82de
..
69ca488
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-126,8
+126,9
@@
typedef struct outgoing_t {
int timeout;
splay_tree_t *config_tree;
struct config_t *cfg;
int timeout;
splay_tree_t *config_tree;
struct config_t *cfg;
- struct addrinfo *ai;
+ struct addrinfo *ai;
// addresses from config files
struct addrinfo *aip;
struct addrinfo *aip;
+ struct addrinfo *kai; // addresses known via other online nodes (use free_known_addresses())
timeout_t ev;
} outgoing_t;
timeout_t ev;
} outgoing_t;
@@
-217,7
+218,6
@@
extern void regenerate_key(void);
extern void purge(void);
extern void retry(void);
extern int reload_configuration(void);
extern void purge(void);
extern void retry(void);
extern int reload_configuration(void);
-extern void load_all_subnets(void);
extern void load_all_nodes(void);
extern void try_tx(struct node_t *n, bool);
extern void load_all_nodes(void);
extern void try_tx(struct node_t *n, bool);