[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1761078778.git.aclaudi@redhat.com>
Date: Tue, 21 Oct 2025 22:39:15 +0200
From: Andrea Claudi <aclaudi@...hat.com>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>,
David Ahern <dsahern@...nel.org>
Subject: [PATCH iproute2-next 0/3] misc: convert to high-level json_print API
This patch series converts three utilities in the misc/ directory
(ifstat, nstat, and lnstat) from using the low-level json_writer API to
the high-level json_print API, ensuring they use the same json printing
logic of all the other iproute2 tools.
The JSON output before and after these changes remains the same.
Andrea Claudi (3):
ifstat: convert to high-level json_print API
nstat: convert to high-level json_print API
lnstat: convert to high-level json_print API
misc/ifstat.c | 85 ++++++++++++++++++++++-----------------------------
misc/lnstat.c | 17 +++++------
misc/nstat.c | 48 +++++++++++++----------------
3 files changed, 65 insertions(+), 85 deletions(-)
--
2.51.0
Powered by blists - more mailing lists