linux/tools/net/ynl/lib
Donald Hunter e45fee0f49 tools/net/ynl: Combine struct decoding logic in ynl
_decode_fixed_header() and NlAttr.as_struct() both implemented struct
decoding logic. Deduplicate the code into newly named _decode_struct()
method.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240129223458.52046-8-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-01-31 21:19:19 -08:00
..
.gitignore tools: net: add __pycache__ to gitignore 2023-02-24 11:55:47 -08:00
__init__.py tools/net/ynl: Add support for create flags 2023-08-27 17:17:10 -07:00
Makefile tools: ynl: user space helpers 2023-06-06 12:31:31 -07:00
nlspec.py tools/net/ynl: Add 'sub-message' attribute decoding to ynl 2023-12-18 14:39:43 -08:00
ynl-priv.h tools: ynl: move private definitions to a separate header 2023-12-05 20:08:33 -08:00
ynl.c tools: ynl-gen: support fixed headers in genetlink 2023-12-14 17:51:21 -08:00
ynl.h tools: ynl-gen: support fixed headers in genetlink 2023-12-14 17:51:21 -08:00
ynl.py tools/net/ynl: Combine struct decoding logic in ynl 2024-01-31 21:19:19 -08:00