-/* $Id: ppp_defs.h,v 1.4 1994/10/23 11:46:45 paulus Exp $ */
+/* $Id: ppp_defs.h,v 1.6 1995/04/24 02:42:06 paulus Exp $ */
/*
* ppp_defs.h - PPP definitions.
#ifdef UINT32_T
typedef UINT32_T u_int32_t;
#else
-typedef unsigned long u_int32_t;
+typedef unsigned int u_int32_t;
#endif
#endif
struct compstat d; /* packet decompression statistics */
};
+/*
+ * The following structure records the time in seconds since
+ * the last NP packet was sent or received.
+ */
+struct ppp_idle {
+ time_t xmit_idle; /* time since last NP packet sent */
+ time_t recv_idle; /* time since last NP packet received */
+};
+
#ifndef __P
#ifdef __STDC__
#define __P(x) x