-#ifdef UINT32_T
-typedef UINT32_T u_int32_t;
-#else
-typedef unsigned long u_int32_t;
-#endif
-
-/* Extended asyncmap - allows any character to be escaped. */
-typedef u_int32_t ext_accm[8];
-
-/*
- * Statistics.
- */
-struct pppstat {
- u_int ppp_ibytes; /* bytes received */
- u_int ppp_ipackets; /* packets received */
- u_int ppp_ierrors; /* receive errors */
- u_int ppp_obytes; /* bytes sent */
- u_int ppp_opackets; /* packets sent */
- u_int ppp_oerrors; /* transmit errors */
-};
-
-struct vjstat {
- u_int sls_packets; /* outbound packets */
- u_int sls_compressed; /* outbound compressed packets */
- u_int sls_searches; /* searches for connection state */
- u_int sls_misses; /* times couldn't find conn. state */
- u_int sls_uncompressedin; /* inbound uncompressed packets */
- u_int sls_compressedin; /* inbound compressed packets */
- u_int sls_errorin; /* inbound unknown type packets */
- u_int sls_tossed; /* inbound packets tossed because of error */
-};
-
-struct ppp_stats {
- struct pppstat p;
- struct vjstat vj;
-};
-
-/*
- * What to do with network protocol (NP) packets.
- */
-
-enum NPmode {
- NPMODE_PASS, /* pass the packet through */
- NPMODE_DROP, /* silently drop the packet */
- NPMODE_ERROR, /* return an error */
- NPMODE_QUEUE /* save it up for later. */
-};
-