X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=845fd7585ce5806166690d1c51fff0b6098da396;hb=06a4a8c153407b690a3ce3f0e7fdaa8568ccb1a3;hp=5f6224e2ccc31a083d189e1c82405d649fd55360;hpb=b811e980e3a2a301c019459b91df2252468fd572;p=tinc diff --git a/src/net.h b/src/net.h index 5f6224e2..845fd758 100644 --- a/src/net.h +++ b/src/net.h @@ -1,7 +1,7 @@ /* net.h -- header for net.c Copyright (C) 1998-2005 Ivo Timmermans - 2000-2013 Guus Sliepen + 2000-2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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;