Skip to content

Commit 718a836

Browse files
donaldhkuba-moo
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9fcfc1e commit 718a836

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/netlink/genetlink-legacy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ properties:
152152
the right formatting mechanism when displaying values of this
153153
type.
154154
enum: [ hex, mac, fddi, ipv4, ipv6, uuid ]
155+
struct:
156+
description: Name of the nested struct type.
157+
type: string
155158
# End genetlink-legacy
156159

157160
attribute-sets:

0 commit comments

Comments
 (0)