master/device.h
branchredundancy
changeset 2372 d895cd1db2bf
parent 2158 69f2b2702336
child 2450 c0cf0e6cff43
equal deleted inserted replaced
2371:a5052376202b 2372:d895cd1db2bf
   107     u64 last_tx_bytes; /**< Number of bytes sent of last statistics cycle. */
   107     u64 last_tx_bytes; /**< Number of bytes sent of last statistics cycle. */
   108     u64 rx_bytes; /**< Number of bytes received. */
   108     u64 rx_bytes; /**< Number of bytes received. */
   109     u64 last_rx_bytes; /**< Number of bytes received of last statistics cycle.
   109     u64 last_rx_bytes; /**< Number of bytes received of last statistics cycle.
   110                         */
   110                         */
   111     u64 tx_errors; /**< Number of transmit errors. */
   111     u64 tx_errors; /**< Number of transmit errors. */
   112     unsigned int tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in
   112     s32 tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in frames/s for
   113                                                   frames/s for different
   113                                          different statistics cycle periods.
   114                                                   statistics cycle periods. */
   114                                         */
   115     unsigned int rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in
   115     s32 rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in frames/s for
   116                                                   frames/s for different
   116                                          different statistics cycle periods.
   117                                                   statistics cycle periods. */
   117                                         */
   118     unsigned int tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s
   118     s32 tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s for
   119                                                  for different statistics
   119                                         different statistics cycle periods. */
   120                                                  cycle periods. */
   120     s32 rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s for
   121     unsigned int rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s
   121                                         different statistics cycle periods. */
   122                                                  for different statistics
       
   123                                                  cycle periods. */
       
   124 
   122 
   125 #ifdef EC_DEBUG_IF
   123 #ifdef EC_DEBUG_IF
   126     ec_debug_t dbg; /**< debug device */
   124     ec_debug_t dbg; /**< debug device */
   127 #endif
   125 #endif
   128 #ifdef EC_DEBUG_RING
   126 #ifdef EC_DEBUG_RING