X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fofp-util.h;h=89f3d953078d7ffb19d6d3c2ee16d0425c267363;hb=e016fb630d66ba29c37fe4246f0acf80f11c1b3f;hp=f411651ee28037784898202d151d142e651cb311;hpb=2b4c9d85e6d024eb42ddf7882b46297c9a7b8dae;p=cascardo%2Fovs.git diff --git a/lib/ofp-util.h b/lib/ofp-util.h index f411651ee..89f3d9530 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -986,14 +986,16 @@ int ofputil_decode_table_stats_reply(struct ofpbuf *reply, /* Queue configuration request. */ struct ofpbuf *ofputil_encode_queue_get_config_request(enum ofp_version, - ofp_port_t port); + ofp_port_t port, + uint32_t queue); enum ofperr ofputil_decode_queue_get_config_request(const struct ofp_header *, - ofp_port_t *port); + ofp_port_t *port, + uint32_t *queue); /* Queue configuration reply. */ struct ofputil_queue_config { ofp_port_t port; - uint32_t queue_id; + uint32_t queue; /* Each of these optional values is expressed in tenths of a percent. * Values greater than 1000 indicate that the feature is disabled. @@ -1002,13 +1004,11 @@ struct ofputil_queue_config { uint16_t max_rate; }; -struct ofpbuf *ofputil_encode_queue_get_config_reply( - const struct ofp_header *request); +void ofputil_start_queue_get_config_reply(const struct ofp_header *request, + struct ovs_list *replies); void ofputil_append_queue_get_config_reply( - struct ofpbuf *reply, const struct ofputil_queue_config *); + const struct ofputil_queue_config *, struct ovs_list *replies); -enum ofperr ofputil_decode_queue_get_config_reply(struct ofpbuf *reply, - ofp_port_t *); int ofputil_pull_queue_get_config_reply(struct ofpbuf *reply, struct ofputil_queue_config *);