linux/tools/net/ynl/lib
Donald Hunter 971c3eeaf6 tools/net/ynl: Move formatted_string method out of NlAttr
The formatted_string() class method was in NlAttr so that it could be
accessed by NlAttr.as_struct(). Now that as_struct() has been removed,
move formatted_string() to YnlFamily as an internal helper method.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240129223458.52046-10-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: Move formatted_string method out of NlAttr 2024-01-31 21:19:19 -08:00