master/master.h
branchredundancy
changeset 2372 d895cd1db2bf
parent 2299 b232b965d20f
child 2374 e898451c054a
equal deleted inserted replaced
2371:a5052376202b 2372:d895cd1db2bf
   149     u64 last_tx_bytes; /**< Number of bytes sent of last statistics cycle. */
   149     u64 last_tx_bytes; /**< Number of bytes sent of last statistics cycle. */
   150     u64 rx_bytes; /**< Number of bytes received. */
   150     u64 rx_bytes; /**< Number of bytes received. */
   151     u64 last_rx_bytes; /**< Number of bytes received of last statistics cycle.
   151     u64 last_rx_bytes; /**< Number of bytes received of last statistics cycle.
   152                         */
   152                         */
   153     u64 last_loss; /**< Tx/Rx difference of last statistics cycle. */
   153     u64 last_loss; /**< Tx/Rx difference of last statistics cycle. */
   154     unsigned int tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in
   154     s32 tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in frames/s for
   155                                                   frames/s for different
   155                                          different statistics cycle periods.
   156                                                   statistics cycle periods. */
   156                                         */
   157     unsigned int rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in
   157     s32 rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in frames/s for
   158                                                   frames/s for different
   158                                          different statistics cycle periods.
   159                                                   statistics cycle periods. */
   159                                         */
   160     unsigned int tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s
   160     s32 tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s for
   161                                                  for different statistics
   161                                         different statistics cycle periods. */
   162                                                  cycle periods. */
   162     s32 rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s for
   163     unsigned int rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s
   163                                         different statistics cycle periods. */
   164                                                  for different statistics
   164     s32 loss_rates[EC_RATE_COUNT]; /**< Frame loss rates for different
   165                                                  cycle periods. */
       
   166     int loss_rates[EC_RATE_COUNT]; /**< Frame loss rates for different
       
   167                                      statistics cycle periods. */
   165                                      statistics cycle periods. */
   168     unsigned long jiffies; /**< Jiffies of last statistic cycle. */
   166     unsigned long jiffies; /**< Jiffies of last statistic cycle. */
   169 } ec_device_stats_t;
   167 } ec_device_stats_t;
   170 
   168 
   171 /*****************************************************************************/
   169 /*****************************************************************************/