[PATCH net-next v3 06/13] tools: ynl-gen: deduplicate fixed_header handling
Jakub Kicinski
kuba at kernel.org
Sat Sep 13 00:24:18 UTC 2025
On Thu, 11 Sep 2025 20:04:59 +0000 Asbjørn Sloth Tønnesen wrote:
> Fixed headers are handled nearly identical in print_dump(),
> print_req() and put_req_nested(), generalize them and use a
> common function to generate them.
>
> This only causes cosmetic changes to tc_netem_attrs_put() in
> tc-user.c.
>
> Signed-off-by: Asbjørn Sloth Tønnesen <ast at fiberby.net>
> ---
> tools/net/ynl/pyynl/ynl_gen_c.py | 39 ++++++++++++++++----------------
> 1 file changed, 20 insertions(+), 19 deletions(-)
This only makes the code longer and harder to follow.
More information about the WireGuard
mailing list