X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.h;h=7c1784162d8907f6f9ead5dbec448be2032960e9;hp=6323b2ae29caedc56a1f67c441bc7c8f47a6500f;hb=d7b4de0e73baf664964f6daaf63526606b6a890b;hpb=e4f3d93ec62871d1ae11b460627aef0da1b23cd2 diff --git a/src/net.h b/src/net.h index 6323b2ae..7c178416 100644 --- a/src/net.h +++ b/src/net.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.h,v 1.9.4.30 2001/05/07 19:08:46 guus Exp $ + $Id: net.h,v 1.9.4.34 2001/07/21 15:34:18 guus Exp $ */ #ifndef __TINC_NET_H__ @@ -98,7 +98,7 @@ extern int total_tap_out; extern int total_socket_in; extern int total_socket_out; -extern char *unknown; +extern int seconds_till_retry; extern char *request_name[256]; extern char *status_text[10]; @@ -109,11 +109,13 @@ extern int str2opt(const char *); extern char *opt2str(int); extern void send_packet(connection_t *, vpn_packet_t *); extern void receive_packet(connection_t *, vpn_packet_t *); +extern void receive_tcppacket(connection_t *, char *, int); extern void accept_packet(vpn_packet_t *); +extern void broadcast_packet(connection_t *, vpn_packet_t *); extern int setup_network_connections(void); extern void close_network_connections(void); extern void main_loop(void); -extern void terminate_connection(connection_t *); +extern void terminate_connection(connection_t *, int); extern void flush_queue(connection_t *); #include