master/ioctl.h
branchredundancy
changeset 2372 d895cd1db2bf
parent 2369 2536d60dea6e
child 2374 e898451c054a
--- a/master/ioctl.h	Mon Mar 19 09:56:36 2012 +0100
+++ b/master/ioctl.h	Mon Mar 19 10:43:09 2012 +0100
@@ -56,7 +56,7 @@
  *
  * Increment this when changing the ioctl interface!
  */
-#define EC_IOCTL_VERSION_MAGIC 15
+#define EC_IOCTL_VERSION_MAGIC 16
 
 // Command-line tool
 #define EC_IOCTL_MODULE                EC_IOR(0x00, ec_ioctl_module_t)
@@ -170,19 +170,19 @@
         uint64_t tx_bytes;
         uint64_t rx_bytes;
         uint64_t tx_errors;
-        uint32_t tx_frame_rates[EC_RATE_COUNT];
-        uint32_t rx_frame_rates[EC_RATE_COUNT];
-        uint32_t tx_byte_rates[EC_RATE_COUNT];
-        uint32_t rx_byte_rates[EC_RATE_COUNT];
+        int32_t tx_frame_rates[EC_RATE_COUNT];
+        int32_t rx_frame_rates[EC_RATE_COUNT];
+        int32_t tx_byte_rates[EC_RATE_COUNT];
+        int32_t rx_byte_rates[EC_RATE_COUNT];
     } devices[EC_NUM_DEVICES];
     uint64_t tx_count;
     uint64_t rx_count;
     uint64_t tx_bytes;
     uint64_t rx_bytes;
-    uint32_t tx_frame_rates[EC_RATE_COUNT];
-    uint32_t rx_frame_rates[EC_RATE_COUNT];
-    uint32_t tx_byte_rates[EC_RATE_COUNT];
-    uint32_t rx_byte_rates[EC_RATE_COUNT];
+    int32_t tx_frame_rates[EC_RATE_COUNT];
+    int32_t rx_frame_rates[EC_RATE_COUNT];
+    int32_t tx_byte_rates[EC_RATE_COUNT];
+    int32_t rx_byte_rates[EC_RATE_COUNT];
     int32_t loss_rates[EC_RATE_COUNT];
     uint64_t app_time;
     uint16_t ref_clock;