X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=include%2Flinux%2Fif_ppp.h;h=79b1c962b3b7a81581032f21532c66787687af74;hp=02c119a98da4972549f1778a3714f078807ee899;hb=f7f6e00dd75ae5f73808e000387a1f09c2f1a1ac;hpb=ed3c62f8932c151c211d064f95daed3f1f208f80;ds=sidebyside diff --git a/include/linux/if_ppp.h b/include/linux/if_ppp.h index 02c119a..79b1c96 100644 --- a/include/linux/if_ppp.h +++ b/include/linux/if_ppp.h @@ -1,4 +1,4 @@ -/* $Id: if_ppp.h,v 1.1 1994/12/08 01:59:58 paulus Exp $ */ +/* $Id: if_ppp.h,v 1.2 1995/04/28 06:27:55 paulus Exp $ */ /* * if_ppp.h - Point-to-Point Protocol definitions. @@ -89,6 +89,13 @@ struct ifpppstatsreq { struct ppp_stats stats; /* statistic information */ }; +struct ppp_ddinfo { + unsigned long ip_sjiffies; /* time when last IP frame sent */ + unsigned long ip_rjiffies; /* time when last IP frame recvd*/ + unsigned long nip_sjiffies; /* time when last NON-IP sent */ + unsigned long nip_rjiffies; /* time when last NON-IP recvd */ +}; + /* * Ioctl definitions. */ @@ -115,6 +122,7 @@ struct ifpppstatsreq { #define PPPIOCGTIME _IOR('t', 63, struct ppp_ddinfo) /* Read time info */ #define SIOCGPPPSTATS (SIOCDEVPRIVATE + 0) +#define SIOCGPPPCSTATS (SIOCDEVPRIVATE + 2) #define SIOCGPPPVER (SIOCDEVPRIVATE + 1) #if !defined(ifr_mtu)