linux/tools/net/ynl/lib
Jakub Kicinski 4e9806a8f4 tools: ynl-gen: support weird sub-message formats
TC uses all possible sub-message formats:
 - nested attrs
 - fixed headers + nested attrs
 - fixed headers
 - empty

Nested attrs are already supported for rt-link. Add support
for remaining 3. The empty and fixed headers ones are fairly
trivial, we can fake a Binary or Flags type instead of a Nest.

For fixed headers + nest we need to teach nest parsing and
nest put to handle fixed headers.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250520161916.413298-10-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-21 12:38:23 -07:00
..
.gitignore tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00
Makefile tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00
ynl-priv.h tools: ynl-gen: support weird sub-message formats 2025-05-21 12:38:23 -07:00
ynl.c tools: ynl: submsg: reverse parse / error reporting 2025-05-16 16:32:06 -07:00
ynl.h tools: ynl-gen: submsg: support parsing and rendering sub-messages 2025-05-16 16:32:06 -07:00