/*
net.h -- header for net.c
Copyright (C) 1998-2005 Ivo Timmermans
- 2000-2013 Guus Sliepen <guus@tinc-vpn.org>
+ 2000-2014 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
io_t tcp;
io_t udp;
sockaddr_t sa;
+ bool bindto;
} listen_socket_t;
#include "conf.h"
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 device_standby;
+extern bool autoconnect;
extern bool disablebuggypeers;
extern int contradicting_add_edge;
extern int contradicting_del_edge;
extern void receive_tcppacket(struct connection_t *, const char *, int);
extern void broadcast_packet(const struct node_t *, vpn_packet_t *);
extern char *get_name(void);
+extern void device_enable(void);
+extern void device_disable(void);
extern bool setup_myself_reloadable(void);
extern bool setup_network(void);
extern void setup_outgoing_connection(struct outgoing_t *);