test-openflowd: Allow specifying port type on --ports option.
[openvswitch] / lib / cfm.h
index 0d1ddb2f037adb358b211f7a8649a4f6d27c3372..a031ab225b98e8285dc68741a2690c07481fbd78 100644 (file)
--- a/lib/cfm.h
+++ b/lib/cfm.h
@@ -25,7 +25,7 @@ struct flow;
 struct ofpbuf;
 
 struct cfm_settings {
-    uint16_t mpid;              /* The MPID of this CFM. */
+    uint64_t mpid;              /* The MPID of this CFM. */
     int interval;               /* The requested transmission interval. */
     bool extended;              /* Run in extended mode. */
 };
@@ -41,5 +41,7 @@ bool cfm_configure(struct cfm *, const struct cfm_settings *);
 bool cfm_should_process_flow(const struct cfm *cfm, const struct flow *);
 void cfm_process_heartbeat(struct cfm *, const struct ofpbuf *packet);
 bool cfm_get_fault(const struct cfm *);
+void cfm_get_remote_mpids(const struct cfm *, const uint64_t **rmps,
+                          size_t *n_rmps);
 
 #endif /* cfm.h */