X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=c32c1c149dd669f8b5fd6890b32ee474db3d7181;hb=2f41780023bffc81fa42b0e72f67be86a52b370c;hp=879dfffbeae0e9346f61d95c611e33ac79ccb96a;hpb=258bf7ea0fe69bae395a084843ba59b9770199f1;p=tinc diff --git a/src/net.h b/src/net.h index 879dfffb..c32c1c14 100644 --- a/src/net.h +++ b/src/net.h @@ -103,6 +103,7 @@ typedef struct listen_socket_t { io_t tcp; io_t udp; sockaddr_t sa; + bool bindto; } listen_socket_t; #include "conf.h" @@ -125,6 +126,7 @@ extern int seconds_till_retry; extern int addressfamily; extern unsigned replaywin; extern bool localdiscovery; +extern sockaddr_t localdiscovery_address; extern listen_socket_t listen_socket[MAXSOCKETS]; extern int listen_sockets; @@ -132,6 +134,7 @@ extern io_t unix_socket; extern int keylifetime; extern int udp_rcvbuf; extern int udp_sndbuf; +extern int max_connection_burst; extern bool do_prune; extern char *myport; extern int autoconnect;