X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=32a00f232b1ff9b6a646555bd1d1f8fe52da2a58;hb=079b5942276a04b2b18f1ec5bd2e07170e3ab9bd;hp=ea988e7bbd2cd16347438992b96c85df43bc8d9a;hpb=0d085684619be0baef309957a3d7410a23cb5f27;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index ea988e7b..32a00f23 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -201,6 +201,7 @@ int ofproto_port_query_by_name(const struct ofproto *, const char *devname, struct ofproto_port *); /* Top-level configuration. */ +uint64_t ofproto_get_datapath_id(const struct ofproto *); void ofproto_set_datapath_id(struct ofproto *, uint64_t datapath_id); void ofproto_set_controllers(struct ofproto *, const struct ofproto_controller *, size_t n); @@ -348,6 +349,7 @@ void ofproto_get_all_flows(struct ofproto *p, struct ds *); void ofproto_get_netflow_ids(const struct ofproto *, uint8_t *engine_type, uint8_t *engine_id); int ofproto_port_get_cfm_fault(const struct ofproto *, uint16_t ofp_port); +int ofproto_port_get_cfm_opup(const struct ofproto *, uint16_t ofp_port); int ofproto_port_get_cfm_remote_mpids(const struct ofproto *, uint16_t ofp_port, const uint64_t **rmps, size_t *n_rmps);