--- openflow-2013-07-05-3.h	2015-07-23 09:54:17.684479384 -0700
+++ openflow-2014-03-11.h	2015-07-23 09:54:17.688479384 -0700
@@ -1211,9 +1211,10 @@
 /* OXS flow stat field types for OpenFlow basic class. */
 enum oxs_ofb_stat_fields {
     OFPXST_OFB_DURATION        = 0,  /* Time flow has been alive. */
-    OFPXST_OFB_FLOW_COUNT      = 1,  /* Number of aggregated flows. */
-    OFPXST_OFB_PACKET_COUNT    = 2,  /* Number of packets in flow. */
-    OFPXST_OFB_BYTE_COUNT      = 3,  /* Number of bytes in flow. */
+    OFPXST_OFB_IDLE_TIME       = 1,  /* Time flow has been idle. */
+    OFPXST_OFB_FLOW_COUNT      = 3,  /* Number of aggregated flows. */
+    OFPXST_OFB_PACKET_COUNT    = 4,  /* Number of packets in flow. */
+    OFPXST_OFB_BYTE_COUNT      = 5,  /* Number of bytes in flow. */
 };
 
 #define OFPXST_OFB_ALL    ((UINT64_C(1) << 3) - 1)
@@ -1228,6 +1229,16 @@
  */
 #define OXS_OF_DURATION      OXS_HEADER  (0x8001, OFPXST_OFB_DURATION, 8)
 
+/* OpenFlow flow idle time.
+ * Time flow has been idle (no packets matched) in seconds and nanoseconds.
+ *
+ * Format: A pair of 32-bit integer in network byte order.
+ *    First 32-bit number is idle time in seconds.
+ *    Second 32-bit number is nanoseconds beyond idle time in seconds.
+ * Second number must be set to zero if not supported.
+ */
+#define OXS_OF_IDLE_TIME      OXS_HEADER  (0x8001, OFPXST_OFB_IDLE_TIME, 8)
+
 /* OpenFlow flow count.
  * Number of aggregated flows.
  * Required in \verb|OFPMP_AGGREGATE| replies, undefined in other context.
