]> git.ozlabs.org Git - ppp.git/blobdiff - include/net/ppp_defs.h
updated for 2.3
[ppp.git] / include / net / ppp_defs.h
index 4f0e711561cd9337ab829741e54723c64d87780f..77f01bb1b1ba99b2bea5deecc826d85b4d362a12 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: ppp_defs.h,v 1.5 1994/12/05 00:32:37 paulus Exp $  */
+/*     $Id: ppp_defs.h,v 1.7 1995/08/10 06:49:35 paulus Exp $  */
 
 /*
  * ppp_defs.h - PPP definitions.
 
 /*
  * ppp_defs.h - PPP definitions.
@@ -74,7 +74,7 @@
 /*
  * A 32-bit unsigned integral type.
  */
 /*
  * A 32-bit unsigned integral type.
  */
-#ifndef __BIT_TYPES_DEFINED__
+#if !defined(__BIT_TYPES_DEFINED__) && !defined(_BITYPES)
 #ifdef UINT32_T
 typedef UINT32_T       u_int32_t;
 #else
 #ifdef UINT32_T
 typedef UINT32_T       u_int32_t;
 #else
@@ -145,8 +145,8 @@ struct ppp_comp_stats {
  * the last NP packet was sent or received.
  */
 struct ppp_idle {
  * the last NP packet was sent or received.
  */
 struct ppp_idle {
-    int xmit_idle;             /* time since last NP packet sent */
-    int recv_idle;             /* time since last NP packet received */
+    time_t xmit_idle;          /* time since last NP packet sent */
+    time_t recv_idle;          /* time since last NP packet received */
 };
 
 #ifndef __P
 };
 
 #ifndef __P