master/device.h
changeset 1851 a56bd34e20a1
parent 1363 11c0b2caa253
child 1854 b61bece1ec1c
equal deleted inserted replaced
1850:fa112b8a371b 1851:a56bd34e20a1
    96     struct timeval timeval_poll;
    96     struct timeval timeval_poll;
    97 #endif
    97 #endif
    98     unsigned long jiffies_poll; /**< jiffies of last poll */
    98     unsigned long jiffies_poll; /**< jiffies of last poll */
    99     unsigned int tx_count; /**< number of frames sent */
    99     unsigned int tx_count; /**< number of frames sent */
   100     unsigned int rx_count; /**< number of frames received */
   100     unsigned int rx_count; /**< number of frames received */
       
   101     unsigned int last_tx_count;
       
   102     unsigned int tx_rates[EC_RATE_COUNT];
       
   103     int last_loss; /**< Tx/Rx difference of last cycle. */
       
   104     int loss_rates[EC_RATE_COUNT];
       
   105     unsigned long stats_jiffies;
   101 #ifdef EC_DEBUG_IF
   106 #ifdef EC_DEBUG_IF
   102     ec_debug_t dbg; /**< debug device */
   107     ec_debug_t dbg; /**< debug device */
   103 #endif
   108 #endif
   104 #ifdef EC_DEBUG_RING
   109 #ifdef EC_DEBUG_RING
   105     ec_debug_frame_t debug_frames[EC_DEBUG_RING_SIZE];
   110     ec_debug_frame_t debug_frames[EC_DEBUG_RING_SIZE];