summaryrefslogtreecommitdiff
path: root/Documentation/netlink/genetlink.yaml
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-03-15 21:50:27 -0700
committerDavid S. Miller <davem@davemloft.net>2023-03-17 08:54:17 +0000
commit82b3297009b6831dfe47f0f38ed4043e39f58c9f (patch)
treeb96933b7cdd19981cddc3ad757f5b742a4e9af7a /Documentation/netlink/genetlink.yaml
parent74bf6477c18b2904936763132e9224a41b8da13a (diff)
netlink: specs: allow uapi-header in genetlink
Chuck wanted to put the UAPI header in linux/net/ which seems reasonable, allow genetlink families to choose the location. It doesn't really matter for non-C-like languages. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink/genetlink.yaml')
-rw-r--r--Documentation/netlink/genetlink.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink.yaml b/Documentation/netlink/genetlink.yaml
index b2d56ab9e615..8952e84ff207 100644
--- a/Documentation/netlink/genetlink.yaml
+++ b/Documentation/netlink/genetlink.yaml
@@ -33,6 +33,9 @@ properties:
protocol:
description: Schema compatibility level. Default is "genetlink".
enum: [ genetlink ]
+ uapi-header:
+ description: Path to the uAPI header, default is linux/${family-name}.h
+ type: string
definitions:
description: List of type and constant definitions (enums, flags, defines).