ofproto-dpif: Improve RSPAN translation performance from O(n**2) to O(n).
[sliver-openvswitch.git] / ofproto / ofproto.h
index 4b37bd7..eed4e50 100644 (file)
@@ -94,6 +94,9 @@ struct ofproto_port_stp_status {
     enum stp_state state;
     unsigned int sec_in_state;
     enum stp_role role;
+    int tx_count;               /* Number of BPDUs transmitted. */
+    int rx_count;               /* Number of valid BPDUs received. */
+    int error_count;            /* Number of bad BPDUs received. */
 };
 
 /* How the switch should act if the controller cannot be contacted. */