Add the ListenAddress option.
[tinc] / src / net.h
index 5f6224e..c32c1c1 100644 (file)
--- 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"
@@ -133,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;