See copyright statement in NOTES
*/
-#include <sys/ioccom.h>
-
/*
* Packet sizes
*/
struct ppp_stats stats;
};
+struct ifpppcstatsreq {
+ char ifr_name[IFNAMSIZ];
+ struct ppp_comp_stats stats;
+};
+
/*
* Ioctl definitions.
*/
#define SIOCSCOMPRESS _IOW('p', 150, struct ppp_option_data)
#define SIOCGPPPSTATS _IOWR('i', 123, struct ifpppstatsreq)
+#define SIOCGPPPCSTATS _IOWR('i', 124, struct ifpppcstatsreq)
#else
/* traditional C compiler */
#define SIOCSCOMPRESS _IOW(p, 150, struct ppp_option_data)
#define SIOCGPPPSTATS _IOWR(i, 123, struct ifpppstatsreq)
+#define SIOCGPPPCSTATS _IOWR(i, 124, struct ifpppcstatsreq)
#endif
/*