X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcfm.h;h=13fdc60a64ca9360c770c1cedc2672a64b96dd4a;hb=88bf179aa3f3fa89822edcd9b882e0f06d39bf08;hp=cff713f98e821cd217e9e598b6cf01e729367115;hpb=0258d4a0efff965917a4968361da1be15ee4deca;p=sliver-openvswitch.git diff --git a/lib/cfm.h b/lib/cfm.h index cff713f98..13fdc60a6 100644 --- a/lib/cfm.h +++ b/lib/cfm.h @@ -76,10 +76,13 @@ void cfm_set_netdev(struct cfm *, const struct netdev *); 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); +bool cfm_check_status_change(struct cfm *); 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 */