[PATCH 0/4] tools: ynl: Fix tc filters with actions

From: Zahari Doychev
Date: Sat Oct 18 2025 - 11:18:10 EST


The first patch in this series introduces an example tool that
creates a flower filter with two VLAN actions. The subsequent
patches address various issues to ensure the tool operates as
intended.

Zahari Doychev (4):
ynl: samples: add tc filter add example
tools: ynl: zero-initialize struct ynl_sock memory
tools: ynl: call nested attribute free function for indexed arrays
tools: ynl: add start-index property for indexed arrays

Documentation/netlink/netlink-raw.yaml | 13 ++++
Documentation/netlink/specs/tc.yaml | 7 ++
tools/net/ynl/Makefile.deps | 1 +
tools/net/ynl/lib/ynl.c | 2 +-
tools/net/ynl/pyynl/lib/nlspec.py | 1 +
tools/net/ynl/pyynl/ynl_gen_c.py | 18 ++++-
tools/net/ynl/samples/.gitignore | 1 +
tools/net/ynl/samples/tc-filter-add.c | 92 ++++++++++++++++++++++++++
8 files changed, 133 insertions(+), 2 deletions(-)
create mode 100644 tools/net/ynl/samples/tc-filter-add.c

--
2.51.0