diff -r 10175d5f35ea -r ed8b490b5bc3 master/ioctl.h --- a/master/ioctl.h Tue Mar 09 09:59:32 2010 +0100 +++ b/master/ioctl.h Tue Mar 09 10:22:32 2010 +0100 @@ -157,13 +157,16 @@ uint8_t phase; uint8_t active; uint8_t scan_busy; - struct { + struct ec_ioctl_device { uint8_t address[6]; uint8_t attached; uint8_t link_state; uint32_t tx_count; uint32_t rx_count; - uint32_t tx_rates[EC_RATE_COUNT]; + uint32_t tx_bytes; + uint32_t tx_errors; + uint32_t tx_frame_rates[EC_RATE_COUNT]; + uint32_t tx_byte_rates[EC_RATE_COUNT]; int32_t loss_rates[EC_RATE_COUNT]; } devices[2]; uint64_t app_time;