From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH iproute2-next 0/9] TC more JSON support Date: Mon, 9 Jul 2018 12:48:47 -0700 Message-ID: <20180709194856.18922-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pf0-f170.google.com ([209.85.192.170]:44248 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932866AbeGITs7 (ORCPT ); Mon, 9 Jul 2018 15:48:59 -0400 Received: by mail-pf0-f170.google.com with SMTP id j3-v6so14366062pfh.11 for ; Mon, 09 Jul 2018 12:48:59 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger Update core of TC command and library to do more JSON. Most of this patch set is about getting tc utility functions to be more friendly to the json_print infrastructure. Stephen Hemminger (9): tc: use JSON in error handling tc: use const char in util tc: convert stats print to json tc/cbq: use sprint_rate tc/util: remove print_rate tc/util: remove unused print_size tc/util: remove unused print_time tc/util: add print helpers for JSON tc/sfq: add json support tc/q_cbq.c | 15 ++++----- tc/q_sfq.c | 65 +++++++++++++++++++++--------------- tc/tc.c | 19 ++++++----- tc/tc_util.c | 94 +++++++++++++++++++++++++++------------------------- tc/tc_util.h | 11 +++--- 5 files changed, 109 insertions(+), 95 deletions(-) -- 2.18.0