X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.h;h=6b2c6b4df98156327740f91c57bc8093cca54bed;hp=eb7ad7eaba2ccae94ed6cf4b77339af9bb275626;hb=fb6dc0b0890ebae2471e00e7a3e1d86c1fc3d646;hpb=82e383710980534d38bb9a8ef22f20677cd85861 diff --git a/src/net.h b/src/net.h index eb7ad7ea..6b2c6b4d 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.35 2001/10/27 12:13:17 guus Exp $ + $Id: net.h,v 1.9.4.37 2001/11/16 12:08:38 zarq Exp $ */ #ifndef __TINC_NET_H__ @@ -57,20 +57,6 @@ typedef struct mac_t unsigned char x[6]; } mac_t; -typedef unsigned long ipv4_t; - -typedef struct ip_mask_t { - ipv4_t address; - ipv4_t mask; -} ip_mask_t; - -typedef struct ipv6_t -{ - unsigned short x[8]; -} ipv6_t; - -typedef unsigned short port_t; - typedef short length_t; typedef struct vpn_packet_t { @@ -90,6 +76,7 @@ typedef struct packet_queue_t { queue_element_t *tail; } packet_queue_t; +extern int maxtimeout; extern int seconds_till_retry; extern char *request_name[256];