X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.h;h=eae979cd1b72c59bf2d1a5b74a9792fb480842cd;hp=31438e52d6179786cf35c394588986a99ff945c6;hb=4a21aabada23d1d2c8a10f54dd7248171c4ec82f;hpb=ab7c61b06f6c6e991225f2fcc32d02b8e1084aee diff --git a/src/net.h b/src/net.h index 31438e52..eae979cd 100644 --- a/src/net.h +++ b/src/net.h @@ -98,6 +98,7 @@ typedef struct outgoing_t { struct config_t *cfg; struct addrinfo *ai; struct addrinfo *aip; + struct event *event; } outgoing_t; extern list_t *outgoing_list; @@ -114,6 +115,8 @@ extern bool do_prune; extern bool do_purge; extern char *myport; extern time_t now; +extern int contradicting_add_edge; +extern int contradicting_del_edge; /* Yes, very strange placement indeed, but otherwise the typedefs get all tangled up */ #include "connection.h" @@ -138,6 +141,7 @@ extern void terminate_connection(struct connection_t *, bool); extern void flush_queue(struct node_t *); extern bool read_rsa_public_key(struct connection_t *); extern void send_mtu_probe(struct node_t *); +extern void load_all_subnets(); #ifndef HAVE_MINGW #define closesocket(s) close(s)