struct flow;
struct ofpbuf;
+struct ds;
/* Ethernet destination address of CCM packets. */
static const uint8_t eth_addr_ccm[6] OVS_UNUSED
/* Statistics. */
struct hmap remote_mps; /* Expected remote MPs. */
- struct hmap x_remote_mps; /* Unexpected remote MPs. */
- struct hmap x_remote_maids; /* Unexpected remote MAIDs. */
bool fault; /* Indicates connectivity vaults. */
};
bool fault; /* Indicates a connectivity fault. */
};
-/* Remote MAIDs keep track of incoming CCM messages which have a different MAID
- * than this CFM instance. */
-struct remote_maid {
- uint8_t maid[CCM_MAID_LEN]; /* The remote MAID. */
- struct hmap_node node; /* In 'cfm' 'x_remote_maids'. */
-
- long long recv_time; /* Most recent receive time for this 'remote_maid'. */
-};
-
struct cfm *cfm_create(void);
void cfm_destroy(struct cfm *);
void cfm_process_heartbeat(struct cfm *, const struct ofpbuf *packet);
+void cfm_dump_ds(const struct cfm *, struct ds *);
+
#endif /* cfm.h */