X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Fnet%2Fppp_str.h;h=d3caba8c2e1a108092791335333eba23a530b104;hp=760e7376ded2a4daa3fd7a9904ceb135f559acbb;hb=29829af57374e99da39f341fd00a0ae2445266d6;hpb=6a34bc9a3edf435bc67e81755b65acb6786c98b3 diff --git a/include/net/ppp_str.h b/include/net/ppp_str.h index 760e737..d3caba8 100644 --- a/include/net/ppp_str.h +++ b/include/net/ppp_str.h @@ -5,8 +5,6 @@ See copyright statement in NOTES */ -#include - /* * Packet sizes */ @@ -34,6 +32,11 @@ struct ifpppstatsreq { struct ppp_stats stats; }; +struct ifpppcstatsreq { + char ifr_name[IFNAMSIZ]; + struct ppp_comp_stats stats; +}; + /* * Ioctl definitions. */ @@ -61,6 +64,7 @@ struct ifpppstatsreq { #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 */ @@ -86,6 +90,7 @@ struct ifpppstatsreq { #define SIOCSCOMPRESS _IOW(p, 150, struct ppp_option_data) #define SIOCGPPPSTATS _IOWR(i, 123, struct ifpppstatsreq) +#define SIOCGPPPCSTATS _IOWR(i, 124, struct ifpppcstatsreq) #endif /*