Removed definitions of ipv4_t, ipv6_t, port_t
[tinc] / src / net.h
index eb7ad7e..6b2c6b4 100644 (file)
--- 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];