Index: usbatm.h =================================================================== RCS file: /home/cvs/usbatm/usbatm.h,v retrieving revision 1.23 diff -u -r1.23 usbatm.h --- usbatm.h 3 Nov 2005 17:39:11 -0000 1.23 +++ usbatm.h 7 Nov 2005 18:58:40 -0000 @@ -148,6 +148,21 @@ struct usbatm_data *usbatm; }; +struct stats { + u32 dsrate; + u32 usrate; + u32 usattenuation; + u32 dsattenuation; + u32 dsmargin; + u32 usmargin; + u32 dscorr; /* corrected blocks(FEC) */ + u32 uscorr; + u32 dsunc; /* uncorrected blocks */ + u32 usunc; + u32 txflow; /* total blocks */ + u32 rxflow; + u32 state; /* duplicate of signal ??? */ +} /* main driver data */ struct usbatm_data { @@ -168,6 +183,8 @@ /* ATM device */ struct atm_dev *atm_dev; + struct stats *stats; + /******************************** * private fields - do not use * ********************************/