diff options
author | Donald Hunter <donald.hunter@gmail.com> | 2023-03-27 11:31:34 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-29 09:54:43 +0300 |
commit | 2607191395bd4db544db05452625cd7e98bc0848 (patch) | |
tree | e5c5a649fa63a4131caecb03af6fd5d25bf202e2 /Documentation | |
parent | b423c3c86325192259380ac870aafd370a683e73 (diff) | |
download | linux-2607191395bd4db544db05452625cd7e98bc0848.tar.xz |
tools: ynl: Add struct attr decoding to ynl
Add support for decoding attributes that contain C structs.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/netlink/genetlink-legacy.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml index 5dc6f1c07a97..d50c78b9f42d 100644 --- a/Documentation/netlink/genetlink-legacy.yaml +++ b/Documentation/netlink/genetlink-legacy.yaml @@ -218,6 +218,11 @@ properties: description: Max length for a string or a binary attribute. $ref: '#/$defs/len-or-define' sub-type: *attr-type + # Start genetlink-legacy + struct: + description: Name of the struct type used for the attribute. + type: string + # End genetlink-legacy # Make sure name-prefix does not appear in subsets (subsets inherit naming) dependencies: |