X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=ofproto%2Fconnmgr.h;h=4122bc1a334e4bd7a8918505ede96ae5e54ebf2e;hb=09861c3f95952943398126a3588a26faf34369b0;hp=00dd37157f36aaf32e45460866e30ce4f081e258;hpb=81a76618be9ea195a1e4a881ba9591728891d10b;p=openvswitch diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 00dd3715..4122bc1a 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -85,7 +85,8 @@ bool connmgr_has_controllers(const struct connmgr *); void connmgr_get_controller_info(struct connmgr *, struct shash *); void connmgr_free_controller_info(struct shash *); void connmgr_set_controllers(struct connmgr *, - const struct ofproto_controller[], size_t n); + const struct ofproto_controller[], size_t n, + uint32_t allowed_versions); void connmgr_reconnect(const struct connmgr *); int connmgr_set_snoops(struct connmgr *, const struct sset *snoops); @@ -98,7 +99,7 @@ enum ofconn_type ofconn_get_type(const struct ofconn *); enum nx_role ofconn_get_role(const struct ofconn *); void ofconn_set_role(struct ofconn *, enum nx_role); -enum ofputil_protocol ofconn_get_protocol(struct ofconn *); +enum ofputil_protocol ofconn_get_protocol(const struct ofconn *); void ofconn_set_protocol(struct ofconn *, enum ofputil_protocol); enum nx_packet_in_format ofconn_get_packet_in_format(struct ofconn *); @@ -173,7 +174,7 @@ struct ofmonitor { /* Matching. */ uint16_t out_port; uint8_t table_id; - struct match match; + struct minimatch match; }; struct ofputil_flow_monitor_request;