aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/netlink/genetlink.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/netlink/genetlink.yaml')
-rw-r--r--Documentation/netlink/genetlink.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink.yaml b/Documentation/netlink/genetlink.yaml
index d7edb88555630e..ebd6ee743fccc2 100644
--- a/Documentation/netlink/genetlink.yaml
+++ b/Documentation/netlink/genetlink.yaml
@@ -328,3 +328,22 @@ properties:
The name for the group, used to form the define and the value of the define.
type: string
flags: *cmd_flags
+
+ kernel-family:
+ description: Additional global attributes used for kernel C code generation.
+ type: object
+ additionalProperties: False
+ properties:
+ headers:
+ description: |
+ List of extra headers which should be included in the source
+ of the generated code.
+ type: array
+ items:
+ type: string
+ sock-priv:
+ description: |
+ Literal name of the type which is used within the kernel
+ to store the socket state. The type / structure is internal
+ to the kernel, and is not defined in the spec.
+ type: string