mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ofp-util: constify buckets parameter of ofputil_append*_group_desc_reply()
This parameter is not modified so it may be marked as const. Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
This commit is contained in:
committed by
Thomas Graf
parent
a52b0492a4
commit
1667bb3498
@@ -7408,7 +7408,7 @@ ofputil_put_ofp15_bucket(const struct ofputil_bucket *bucket,
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
|
ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||||
struct ovs_list *buckets,
|
const struct ovs_list *buckets,
|
||||||
struct ovs_list *replies,
|
struct ovs_list *replies,
|
||||||
enum ofp_version version)
|
enum ofp_version version)
|
||||||
{
|
{
|
||||||
@@ -7432,7 +7432,7 @@ ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
|
ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||||
struct ovs_list *buckets,
|
const struct ovs_list *buckets,
|
||||||
struct ovs_list *replies,
|
struct ovs_list *replies,
|
||||||
enum ofp_version version)
|
enum ofp_version version)
|
||||||
{
|
{
|
||||||
@@ -7462,7 +7462,7 @@ ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
|
|||||||
* initialized with ofpmp_init(). */
|
* initialized with ofpmp_init(). */
|
||||||
void
|
void
|
||||||
ofputil_append_group_desc_reply(const struct ofputil_group_desc *gds,
|
ofputil_append_group_desc_reply(const struct ofputil_group_desc *gds,
|
||||||
struct ovs_list *buckets,
|
const struct ovs_list *buckets,
|
||||||
struct ovs_list *replies)
|
struct ovs_list *replies)
|
||||||
{
|
{
|
||||||
enum ofp_version version = ofpmp_version(replies);
|
enum ofp_version version = ofpmp_version(replies);
|
||||||
|
@@ -1079,7 +1079,7 @@ int ofputil_decode_group_desc_reply(struct ofputil_group_desc *,
|
|||||||
struct ofpbuf *, enum ofp_version);
|
struct ofpbuf *, enum ofp_version);
|
||||||
|
|
||||||
void ofputil_append_group_desc_reply(const struct ofputil_group_desc *,
|
void ofputil_append_group_desc_reply(const struct ofputil_group_desc *,
|
||||||
struct ovs_list *buckets,
|
const struct ovs_list *buckets,
|
||||||
struct ovs_list *replies);
|
struct ovs_list *replies);
|
||||||
|
|
||||||
struct ofputil_bundle_ctrl_msg {
|
struct ofputil_bundle_ctrl_msg {
|
||||||
|
Reference in New Issue
Block a user