X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.h;h=53ed69128b53c9a7f3c2b5a0ec630daf52a9f55c;hb=b85d8d61a6c3b9c2fa578fa62c795a93544764af;hp=ed8d45b3f11fa69b3581492a8d71f9037264feb0;hpb=abe529af477b8311a1fd68c130374bd7442003c3;p=openvswitch diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h index ed8d45b3..53ed6912 100644 --- a/ofproto/ofproto.h +++ b/ofproto/ofproto.h @@ -31,7 +31,7 @@ extern "C" { #endif -struct cfm; +struct cfm_settings; struct cls_rule; struct netdev; struct ofproto; @@ -171,9 +171,7 @@ void ofproto_port_unregister(struct ofproto *, uint16_t ofp_port); void ofproto_port_clear_cfm(struct ofproto *, uint16_t ofp_port); void ofproto_port_set_cfm(struct ofproto *, uint16_t ofp_port, - const struct cfm *, - const uint16_t *remote_mps, size_t n_remote_mps); -const struct cfm *ofproto_port_get_cfm(struct ofproto *, uint16_t ofp_port); + const struct cfm_settings *); int ofproto_port_is_lacp_current(struct ofproto *, uint16_t ofp_port); /* Configuration of bundles. */ @@ -187,6 +185,7 @@ struct ofproto_bundle_settings { unsigned long *trunks; /* vlan_bitmap, NULL to trunk all VLANs. */ struct bond_settings *bond; /* Must be nonnull iff if n_slaves > 1. */ + uint32_t *bond_stable_ids; /* Array of n_slaves elements. */ struct lacp_settings *lacp; /* Nonnull to enable LACP. */ struct lacp_slave_settings *lacp_slaves; /* Array of n_slaves elements. */ @@ -230,6 +229,7 @@ void ofproto_get_snoops(const struct ofproto *, struct sset *); 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); void ofproto_get_ofproto_controller_info(const struct ofproto *, struct shash *); void ofproto_free_ofproto_controller_info(struct shash *);