X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=9b625a0d9873c7a32723e55210559157c9df8ffc;hb=886a6f61a1f4cc48a77b42d10f34f9126377d904;hp=57e9d8db3a0c7ddb05a915e6c7a4f970c49406a1;hpb=075e6828a7533e7daa790225f17aa6bb39703278;p=tinc diff --git a/src/net.h b/src/net.h index 57e9d8db..9b625a0d 100644 --- a/src/net.h +++ b/src/net.h @@ -1,6 +1,6 @@ /* net.h -- header for net.c - Copyright (C) 1998-2005 Ivo Timmermans + Copyright (C) 1998-2005 Ivo Timmermans 2000-2009 Guus Sliepen This program is free software; you can redistribute it and/or modify @@ -13,11 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_NET_H__ @@ -110,12 +108,17 @@ extern list_t *outgoing_list; extern int maxoutbufsize; extern int seconds_till_retry; extern int addressfamily; +extern unsigned replaywin; extern listen_socket_t listen_socket[MAXSOCKETS]; extern int listen_sockets; extern int keylifetime; +extern int udp_rcvbuf; +extern int udp_sndbuf; extern bool do_prune; extern char *myport; +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" @@ -146,6 +149,7 @@ extern void regenerate_key(); extern void purge(void); extern void retry(void); extern int reload_configuration(void); +extern void load_all_subnets(); #ifndef HAVE_MINGW #define closesocket(s) close(s)