From: Wen Liang <liangwen12year@gmail.com>
To: netdev@vger.kernel.org
Cc: stephen@networkplumber.org, dsahern@gmail.com, aclaudi@redhat.com
Subject: [PATCH iproute2 v4 0/2] add json support on tc u32
Date: Mon, 17 Jan 2022 21:42:19 -0500 [thread overview]
Message-ID: <cover.1642472827.git.wenliang@redhat.com> (raw)
From: Wen Liang <wenliang@redhat.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
next reply other threads:[~2022-01-18 2:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 2:42 Wen Liang [this message]
2022-01-18 2:42 ` [PATCH iproute2 v4 1/2] tc: u32: add support for json output Wen Liang
2022-01-18 4:30 ` Stephen Hemminger
2022-01-18 20:04 ` David Ahern
2022-01-18 2:42 ` [PATCH iproute2 v4 2/2] tc: u32: add json support in `print_raw`, `print_ipv4`, `print_ipv6` Wen Liang
2022-01-18 4:32 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1642472827.git.wenliang@redhat.com \
--to=liangwen12year@gmail.com \
--cc=aclaudi@redhat.com \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.