X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcfm.h;h=37e158f639779c2f1d9287e91502e0c436df9724;hb=0c58c0c4da31b554e88be581cca39d314ded9b6b;hp=85e9ddbf4f9c381dd6b08f8bc82509959dcea754;hpb=c0a2e71d110ad2af474232e03ea9ad94cbbae46f;p=openvswitch diff --git a/lib/cfm.h b/lib/cfm.h index 85e9ddbf..37e158f6 100644 --- a/lib/cfm.h +++ b/lib/cfm.h @@ -27,14 +27,13 @@ struct ofpbuf; struct cfm_settings { uint16_t mpid; /* The MPID of this CFM. */ int interval; /* The requested transmission interval. */ - const char *name; /* Name of this CFM object. */ const uint16_t *remote_mpids; /* Array of remote MPIDs */ size_t n_remote_mpids; /* Number of MPIDs in 'remote_mpids'. */ }; void cfm_init(void); -struct cfm *cfm_create(void); +struct cfm *cfm_create(const char *name); void cfm_destroy(struct cfm *); void cfm_run(struct cfm *); bool cfm_should_send_ccm(struct cfm *);