Lines Matching +full:kernel +full:- +full:family

1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc.
19 pattern: ^[su](8|16|32|64)-(min|max)$
26 required: [ name, doc, attribute-sets, operations ]
30 description: Name of the genetlink family.
36 enum: [ genetlink, genetlink-c ]
37 uapi-header:
38 description: Path to the uAPI header, default is linux/${family-name}.h
40 # Start genetlink-c
41 c-family-name:
42 description: Name of the define for the family name.
44 c-version-name:
45 description: Name of the define for the version of the family.
47 max-by-define:
50 cmd-max-name:
53 cmd-cnt-name:
56 # End genetlink-c
69 description: For C-compatible languages, header which already defines this value.
77 description: For const - the value.
80 value-start:
88 - type: string
89 - type: object
99 render-max:
102 # Start genetlink-c
103 enum-name:
106 name-prefix:
109 # End genetlink-c
111 attribute-sets:
112 description: Definition of attribute spaces for this family.
124 name-prefix:
126 Prefix for the C enum name of the attributes. Default family[name]-set[name]-a-
128 enum-name:
135 subset-of:
137 Name of another space which this is a logical part of. Sub-spaces can be used to define
140 # Start genetlink-c
141 attr-cnt-name:
144 attr-max-name:
147 # End genetlink-c
158 type: &attr-type
161 string, nest, indexed-array, nest-type-value ]
168 type-value:
169 … description: Name of the value extracted from the type of a nest-type-value attribute.
173 byte-order:
174 enum: [ little-endian, big-endian ]
175 multi-attr:
177 nested-attributes:
178 description: Name of the space (sub-space) used inside the attribute.
183 enum-as-flags:
190 description: Kernel input validation.
194 flags-mask:
199 $ref: '#/$defs/len-or-limit'
202 $ref: '#/$defs/len-or-limit'
203 min-len:
205 $ref: '#/$defs/len-or-define'
206 max-len:
208 $ref: '#/$defs/len-or-define'
209 exact-len:
211 $ref: '#/$defs/len-or-define'
212 unterminated-ok:
217 sub-type: *attr-type
218 display-hint: &display-hint
224 # Start genetlink-c
225 name-prefix:
227 # End genetlink-c
229 # Make sure name-prefix does not appear in subsets (subsets inherit naming)
231 name-prefix:
233 required: [ subset-of ]
234 subset-of:
236 required: [ name-prefix ]
241 subset-of:
256 enum-model:
261 "directional" has the messages sent to the kernel and from the kernel
264 name-prefix:
269 enum-name:
273 async-prefix:
274 … description: Same as name-prefix but used to render notifications and events to separate enum.
276 async-enum:
297 attribute-set:
306 enum: [ admin-perm ]
307 dont-validate:
308 description: Kernel attribute validation flags.
311 enum: [ strict, dump, dump-strict ]
312 config-cond:
314 Name of the kernel config option gating the presence of
317 do: &subop-type
322 request: &subop-attr-list
329 Names of attributes from the attribute-set (not full attribute
334 reply: *subop-attr-list
341 dump: *subop-type
357 mcast-groups:
375 # Start genetlink-c
376 c-define-name:
379 # End genetlink-c
382 kernel-family:
383 description: Additional global attributes used for kernel C code generation.
394 sock-priv:
396 Literal name of the type which is used within the kernel
398 to the kernel, and is not defined in the spec.