diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 14:59:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 14:59:00 +0000 |
commit | fefb35b1e2e9e60637e9cbdd2a44f716054a5208 (patch) | |
tree | b8b59752343c1f91cd1f23afffc2e6a753bff6c7 /tc/q_choke.c | |
parent | Adding upstream version 6.8.0. (diff) | |
download | iproute2-fefb35b1e2e9e60637e9cbdd2a44f716054a5208.tar.xz iproute2-fefb35b1e2e9e60637e9cbdd2a44f716054a5208.zip |
Adding upstream version 6.9.0.upstream/6.9.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tc/q_choke.c')
-rw-r--r-- | tc/q_choke.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tc/q_choke.c b/tc/q_choke.c index 7653eb7..a16f5f6 100644 --- a/tc/q_choke.c +++ b/tc/q_choke.c @@ -27,7 +27,7 @@ static void explain(void) " [ min PACKETS ] [ max PACKETS ] [ burst PACKETS ]\n"); } -static int choke_parse_opt(struct qdisc_util *qu, int argc, char **argv, +static int choke_parse_opt(const struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev) { struct tc_red_qopt opt = {}; @@ -162,7 +162,7 @@ static int choke_parse_opt(struct qdisc_util *qu, int argc, char **argv, return 0; } -static int choke_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) +static int choke_print_opt(const struct qdisc_util *qu, FILE *f, struct rtattr *opt) { struct rtattr *tb[TCA_CHOKE_MAX+1]; const struct tc_red_qopt *qopt; @@ -203,7 +203,7 @@ static int choke_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) return 0; } -static int choke_print_xstats(struct qdisc_util *qu, FILE *f, +static int choke_print_xstats(const struct qdisc_util *qu, FILE *f, struct rtattr *xstats) { struct tc_choke_xstats *st; |