diff options
Diffstat (limited to 'tc/q_dsmark.c')
-rw-r--r-- | tc/q_dsmark.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/tc/q_dsmark.c b/tc/q_dsmark.c index 8a1cd4d8..68b33ee9 100644 --- a/tc/q_dsmark.c +++ b/tc/q_dsmark.c @@ -168,19 +168,10 @@ static int dsmark_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) } -static int dsmark_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) -{ - return 0; -} - - struct qdisc_util dsmark_util = { - NULL, - "dsmark", - dsmark_parse_opt, - dsmark_print_opt, - dsmark_print_xstats, - - dsmark_parse_class_opt, - dsmark_print_opt + .id = "dsmark", + .parse_qopt = dsmark_parse_opt, + .print_qopt = dsmark_print_opt, + .parse_copt = dsmark_parse_class_opt, + .print_copt = dsmark_print_opt, }; |