summaryrefslogtreecommitdiff
path: root/lib/cfm.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-08-30 17:37:06 -0700
committerEthan Jackson <ethan@nicira.com>2011-09-09 14:11:14 -0700
commitef9819b5f131ae3c727309a7f3758fa079679c85 (patch)
tree89af2bc6d1d8c831cddf4222192087a994cf3920 /lib/cfm.h
parent144216a3358fc3ddc8a8253dd85978f112cb7bbc (diff)
downloadopenvswitch-ef9819b5f131ae3c727309a7f3758fa079679c85.tar.gz
cfm: New cfm extended mode.
The new extended mode introduced in this patch will be used for features which break wire compatibility with 802.1ag compliant implementations. Bug #7014.
Diffstat (limited to 'lib/cfm.h')
-rw-r--r--lib/cfm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cfm.h b/lib/cfm.h
index 659077b47..0d1ddb2f0 100644
--- a/lib/cfm.h
+++ b/lib/cfm.h
@@ -27,6 +27,7 @@ struct ofpbuf;
struct cfm_settings {
uint16_t mpid; /* The MPID of this CFM. */
int interval; /* The requested transmission interval. */
+ bool extended; /* Run in extended mode. */
};
void cfm_init(void);
@@ -37,7 +38,7 @@ bool cfm_should_send_ccm(struct cfm *);
void cfm_compose_ccm(struct cfm *, struct ofpbuf *packet, uint8_t eth_src[6]);
void cfm_wait(struct cfm *);
bool cfm_configure(struct cfm *, const struct cfm_settings *);
-bool cfm_should_process_flow(const struct flow *);
+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 *);