+
+/* CFM status query. */
+struct ofproto_cfm_status {
+ enum cfm_fault_reason faults; /* 0 if not faulted. */
+ bool remote_opstate; /* True if remote CFM endpoint is up. */
+ int health; /* Health status in [0,100] range. */
+
+ /* MPIDs of remote maintenance points whose CCMs have been received. */
+ const uint64_t *rmps;
+ size_t n_rmps;
+};
+
+bool ofproto_port_get_cfm_status(const struct ofproto *, uint16_t ofp_port,
+ struct ofproto_cfm_status *);