diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-08-30 17:37:06 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-09-09 14:11:14 -0700 |
commit | ef9819b5f131ae3c727309a7f3758fa079679c85 (patch) | |
tree | 89af2bc6d1d8c831cddf4222192087a994cf3920 /lib/cfm.h | |
parent | 144216a3358fc3ddc8a8253dd85978f112cb7bbc (diff) | |
download | openvswitch-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |