diff options
author | Donald Hunter <donald.hunter@gmail.com> | 2023-05-27 14:31:06 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-29 22:05:38 -0700 |
commit | 313a7a808ca8ca0fe08e2175eb145479bd86937e (patch) | |
tree | cfb4dfe2e0211ec3fd5b910a3b00654d29610a35 /Documentation/netlink | |
parent | 5ac18889bde04ed2d4f2559da01e9b160234525c (diff) |
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>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r-- | Documentation/netlink/genetlink-legacy.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml index d8f132114308..ac4350498f5e 100644 --- a/Documentation/netlink/genetlink-legacy.yaml +++ b/Documentation/netlink/genetlink-legacy.yaml @@ -127,6 +127,9 @@ properties: doc: description: Documentation for the struct member attribute. type: string + enum: + description: Name of the enum type used for the attribute. + type: string # End genetlink-legacy attribute-sets: |