aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2025-02-11 12:01:25 +0000
committerJakub Kicinski <kuba@kernel.org>2025-02-12 19:32:20 -0800
commit718a8360719b2cbde73b627bf45801b1780caf32 (patch)
tree68d0a514561376df866d714a04dc65cd34f7a454
parenttools/net/ynl: add indexed-array scalar support to ynl-gen-c (diff)
downloadwireguard-linux-718a8360719b2cbde73b627bf45801b1780caf32.tar.xz
wireguard-linux-718a8360719b2cbde73b627bf45801b1780caf32.zip
netlink: specs: support nested structs in genetlink legacy
Nested structs are already supported in netlink-raw. Add the same capability to the genetlink legacy schema. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250211120127.84858-9-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/netlink/genetlink-legacy.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml
index ed64acf1bef7..c02ed8089746 100644
--- a/Documentation/netlink/genetlink-legacy.yaml
+++ b/Documentation/netlink/genetlink-legacy.yaml
@@ -152,6 +152,9 @@ properties:
the right formatting mechanism when displaying values of this
type.
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
+ struct:
+ description: Name of the nested struct type.
+ type: string
# End genetlink-legacy
attribute-sets: