X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcfm.h;h=4213eb5389f2341978afaf06b79483d8d5f226f2;hb=6fdaa45a6f6c9dda2b376060a1483d8fc71f9ef5;hp=0f3e97c337a28c8f0de99340eef1044d0e2fd975;hpb=13b1b2ae700284e8a752ced7c87e16a7c8f9d76c;p=sliver-openvswitch.git diff --git a/lib/cfm.h b/lib/cfm.h index 0f3e97c33..4213eb538 100644 --- a/lib/cfm.h +++ b/lib/cfm.h @@ -34,8 +34,7 @@ struct flow_wildcards; CFM_FAULT_REASON(MAID, maid) \ CFM_FAULT_REASON(LOOPBACK, loopback) \ CFM_FAULT_REASON(OVERFLOW, overflow) \ - CFM_FAULT_REASON(OVERRIDE, override) \ - CFM_FAULT_REASON(INTERVAL, interval) + CFM_FAULT_REASON(OVERRIDE, override) enum cfm_fault_bit_index { #define CFM_FAULT_REASON(NAME, STR) CFM_FAULT_INDEX_##NAME, @@ -78,9 +77,11 @@ bool cfm_should_process_flow(const struct cfm *cfm, const struct flow *, struct flow_wildcards *); void cfm_process_heartbeat(struct cfm *, const struct ofpbuf *packet); int cfm_get_fault(const struct cfm *); +uint64_t cfm_get_flap_count(const struct cfm *); int cfm_get_health(const struct cfm *); int cfm_get_opup(const struct cfm *); void cfm_get_remote_mpids(const struct cfm *, uint64_t **rmps, size_t *n_rmps); const char *cfm_fault_reason_to_str(int fault); +long long int cfm_wake_time(struct cfm*); #endif /* cfm.h */