-/*
- * Copyright (c) 2010 Nicira Networks.
+/* Copyright (c) 2010, 2011 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
struct flow;
struct ofpbuf;
-struct ds;
/* Ethernet destination address of CCM packets. */
static const uint8_t eth_addr_ccm[6] OVS_UNUSED
uint16_t mpid; /* The MPID of this CFM. */
uint8_t maid[CCM_MAID_LEN]; /* The MAID of this CFM. */
int interval; /* The requested transmission interval. */
+ const char *name; /* Name of this CFM object. */
/* Statistics. */
struct hmap remote_mps; /* Expected remote MPs. */
bool fault; /* Indicates a connectivity fault. */
};
+void cfm_init(void);
+
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 */