master/device.h
changeset 493 b17c95eac6b2
parent 398 ff37601361a8
child 533 acdd1f9ef7ab
--- a/master/device.h	Tue Nov 21 15:13:48 2006 +0000
+++ b/master/device.h	Tue Nov 21 15:46:21 2006 +0000
@@ -70,6 +70,8 @@
     unsigned long jiffies_isr; /**< jiffies of last ISR call */
     struct module *module; /**< pointer to the device's owning module */
     uint8_t link_state; /**< device link state */
+    unsigned int tx_count; /**< number of frames sent */
+    unsigned int rx_count; /**< number of frames received */
 #ifdef EC_DBG_IF
     ec_debug_t dbg; /**< debug device */
 #endif