tools: ynl: Support enums in struct members in genetlink-legacy
authorDonald Hunter <donald.hunter@gmail.com>
Sat, 27 May 2023 13:31:06 +0000 (14:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 May 2023 05:05:38 +0000 (22:05 -0700)
commit313a7a808ca8ca0fe08e2175eb145479bd86937e
treecfb4dfe2e0211ec3fd5b910a3b00654d29610a35
parent5ac18889bde04ed2d4f2559da01e9b160234525c
tools: ynl: Support enums in struct members in genetlink-legacy

Support decoding scalars as enums in struct members for genetlink-legacy
specs.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-legacy.yaml
tools/net/ynl/lib/nlspec.py
tools/net/ynl/lib/ynl.py