[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1642472827.git.wenliang@redhat.com>
Date: Mon, 17 Jan 2022 21:42:19 -0500
From: Wen Liang <liangwen12year@...il.com>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...il.com, aclaudi@...hat.com
Subject: [PATCH iproute2 v4 0/2] add json support on tc u32
From: Wen Liang <wenliang@...hat.com>
This adds support for json output on tc u32.
- The first patch is replacing with proper json functions in `u32_print_opt()`
- The second patch is fixing the json support in u32 `print_raw()`, `print_ipv4()`
and `print_ipv6()`
The patches were tested with jq parser.
Wen Liang (2):
tc: u32: add support for json output
tc: u32: add json support in `print_raw`, `print_ipv4`, `print_ipv6`
tc/f_u32.c | 197 ++++++++++++++++++++++++++++++++---------------------
1 file changed, 119 insertions(+), 78 deletions(-)
--
2.26.3
Powered by blists - more mailing lists