summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1995-04-24 02:42:46 +0000
committerPaul Mackerras <paulus@samba.org>1995-04-24 02:42:46 +0000
commitfa260536e041df88a948d9a6f5f6abf02f6f82b1 (patch)
tree40eb5ce6641c2335d0161b4e694232a3107eb8d1 /include/net
parent533de9783f794c6b1506ff92939a72eb32102ffb (diff)
downloadppp-fa260536e041df88a948d9a6f5f6abf02f6f82b1.tar.gz
added ctl msg defines for compression stats; fix for osf1
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ppp_str.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/net/ppp_str.h b/include/net/ppp_str.h
index d3caba8..cdb6851 100644
--- a/include/net/ppp_str.h
+++ b/include/net/ppp_str.h
@@ -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