netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/3] misc: convert to high-level json_print API
@ 2025-10-21 20:39 Andrea Claudi
  2025-10-21 20:39 ` [PATCH iproute2-next 1/3] ifstat: " Andrea Claudi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andrea Claudi @ 2025-10-21 20:39 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger, David Ahern

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-26 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 20:39 [PATCH iproute2-next 0/3] misc: convert to high-level json_print API Andrea Claudi
2025-10-21 20:39 ` [PATCH iproute2-next 1/3] ifstat: " Andrea Claudi
2025-10-21 20:39 ` [PATCH iproute2-next 2/3] nstat: " Andrea Claudi
2025-10-21 20:39 ` [PATCH iproute2-next 3/3] lnstat: " Andrea Claudi
2025-10-26 23:24 ` [PATCH iproute2-next 0/3] misc: " David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).