# \[PATCH iproute2 0/2\] add json support on tc u32

- From: Wen Liang \<hidden\>
- Date: 2021-09-07 01:58:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/09/11210925
- Thread: https://ratatoskr.run/netdev/2021/09/11210925/t.md

```text
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()`

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 | 138 ++++++++++++++++++++++++-----------------------------
 1 file changed, 62 insertions(+), 76 deletions(-)

-- 
2.26.3

```
