Add LocalDiscovery option which tries to detect peers on the local network.

Currently, this is implemented by sending IPv4 broadcast packets to the
LAN during path MTU discovery.
This commit is contained in:
Guus Sliepen 2012-02-22 23:17:43 +01:00
parent 8e717ddb60
commit 5a28aa7b8b
8 changed files with 67 additions and 7 deletions

View file

@ -107,6 +107,7 @@ extern int maxoutbufsize;
extern int seconds_till_retry;
extern int addressfamily;
extern unsigned replaywin;
extern bool localdiscovery;
extern listen_socket_t listen_socket[MAXSOCKETS];
extern int listen_sockets;