]> git.ozlabs.org Git - ppp.git/blobdiff - include/net/ppp_str.h
Mods to Linux code from Al Longyear: use ppp_idle instead of
[ppp.git] / include / net / ppp_str.h
index d3caba8c2e1a108092791335333eba23a530b104..cdb68512176764588b93fea6c3e286f8f2c8caa9 100644 (file)
@@ -41,7 +41,7 @@ struct ifpppcstatsreq {
  * Ioctl definitions.
  */
 
-#ifdef __STDC__
+#if defined(__STDC__) || defined(__osf__)
 #define        SIOCSIFCOMPAC   _IOW('p', 130, char)
 #define        SIOCSIFCOMPPROT _IOW('p', 131, char)
 #define        SIOCSIFMRU      _IOW('p', 132, int)     /* set max receive unit */
@@ -116,5 +116,7 @@ struct ifpppcstatsreq {
 #define CCP_FATALERROR 0x20
 
 /* defines for streams modules */
-#define       IF_INPUT_ERROR  0xe1
-#define       IF_OUTPUT_ERROR 0xe2
+#define IF_INPUT_ERROR 0xe1
+#define IF_OUTPUT_ERROR        0xe2
+#define IF_GET_CSTATS  0xe3
+#define IF_CSTATS      0xe4