projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sptps_test: allow using a tun device instead of stdio.
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
8d236da
..
845fd75
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-1,7
+1,7
@@
/*
net.h -- header for net.c
Copyright (C) 1998-2005 Ivo Timmermans
/*
net.h -- header for net.c
Copyright (C) 1998-2005 Ivo Timmermans
- 2000-201
3
Guus Sliepen <guus@tinc-vpn.org>
+ 2000-201
4
Guus Sliepen <guus@tinc-vpn.org>
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
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;
io_t tcp;
io_t udp;
sockaddr_t sa;
+ bool bindto;
} listen_socket_t;
#include "conf.h"
} 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 int addressfamily;
extern unsigned replaywin;
extern bool localdiscovery;
+extern sockaddr_t localdiscovery_address;
extern listen_socket_t listen_socket[MAXSOCKETS];
extern int listen_sockets;
extern listen_socket_t listen_socket[MAXSOCKETS];
extern int listen_sockets;
@@
-132,9
+134,11
@@
extern io_t unix_socket;
extern int keylifetime;
extern int udp_rcvbuf;
extern int udp_sndbuf;
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;
extern bool do_prune;
extern char *myport;
extern int autoconnect;
+extern bool disablebuggypeers;
extern int contradicting_add_edge;
extern int contradicting_del_edge;
extern time_t last_config_check;
extern int contradicting_add_edge;
extern int contradicting_del_edge;
extern time_t last_config_check;