Lines Matching +full:per +full:- +full:string

1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
19 type: [ string, integer ]
20 pattern: ^[0-9A-Za-z_-]+$
27 required: [ name, doc, attribute-sets, operations ]
32 type: string
34 type: string
37 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim
38 uapi-header:
39 description: Path to the uAPI header, default is linux/${family-name}.h
40 type: string
41 # Start genetlink-c
42 c-family-name:
44 type: string
45 c-version-name:
47 type: string
48 max-by-define:
51 cmd-max-name:
53 type: string
54 cmd-cnt-name:
56 type: string
57 # End genetlink-c
58 # Start genetlink-legacy
59 kernel-policy:
61 … Defines if the input policy in the kernel is global, per-operation, or split per operation type.
63 enum: [ split, per-op, global ]
68 # End genetlink-legacy
79 type: string
81 description: For C-compatible languages, header which already defines this value.
82 type: string
86 type: string
89 description: For const - the value.
90 type: [ string, integer ]
92 value-start:
94 type: [ string, integer ]
100 - type: string
101 - type: object
106 type: string
110 type: string
111 render-max:
114 # Start genetlink-c
115 enum-name:
117 type: [ string, "null" ]
118 name-prefix:
120 type: string
121 enum-cnt-name:
122 description: Name of the render-max counter enum entry.
123 type: string
124 # End genetlink-c
125 # Start genetlink-legacy
135 type: string
138 enum: [ u8, u16, u32, u64, s8, s16, s32, s64, string, binary ]
140 $ref: '#/$defs/len-or-define'
141 byte-order:
142 enum: [ little-endian, big-endian ]
145 type: string
148 type: string
149 display-hint: &display-hint
157 type: string
158 # End genetlink-legacy
160 attribute-sets:
172 type: string
173 name-prefix:
175 Prefix for the C enum name of the attributes. Default family[name]-set[name]-a-
176 type: string
177 enum-name:
180 type: [ string, "null" ]
183 type: string
184 subset-of:
186 Name of another space which this is a logical part of. Sub-spaces can be used to define
188 type: string
189 # Start genetlink-c
190 attr-cnt-name:
192 type: string
193 attr-max-name:
195 type: string
196 # End genetlink-c
206 type: string
207 type: &attr-type
211 string, nest, indexed-array, nest-type-value ]
214 type: string
218 type-value:
219 … description: Name of the value extracted from the type of a nest-type-value attribute.
222 type: string
223 byte-order:
224 enum: [ little-endian, big-endian ]
225 multi-attr:
227 nested-attributes:
228 description: Name of the space (sub-space) used inside the attribute.
229 type: string
232 type: string
233 enum-as-flags:
244 flags-mask:
246 type: string
249 $ref: '#/$defs/len-or-limit'
252 $ref: '#/$defs/len-or-limit'
253 min-len:
255 $ref: '#/$defs/len-or-define'
256 max-len:
257 description: Max length for a string or a binary attribute.
258 $ref: '#/$defs/len-or-define'
259 exact-len:
260 description: Exact length for a string or a binary attribute.
261 $ref: '#/$defs/len-or-define'
262 unterminated-ok:
264 For string attributes, do not check whether attribute
267 sub-type: *attr-type
268 display-hint: *display-hint
269 # Start genetlink-c
270 name-prefix:
271 type: string
272 # End genetlink-c
273 # Start genetlink-legacy
276 type: string
277 # End genetlink-legacy
279 # Make sure name-prefix does not appear in subsets (subsets inherit naming)
281 name-prefix:
283 required: [ subset-of ]
284 subset-of:
286 required: [ name-prefix ]
291 subset-of:
293 type: string
306 enum-model:
314 name-prefix:
318 type: string
319 enum-name:
322 type: [ string, "null" ]
323 async-prefix:
324 … description: Same as name-prefix but used to render notifications and events to separate enum.
325 type: string
326 async-enum:
329 type: [ string, "null" ]
330 # Start genetlink-legacy
331 fixed-header: &fixed-header
333 Name of the structure defining the optional fixed-length protocol
336 type: string
337 # End genetlink-legacy
348 type: string
351 type: string
355 attribute-set:
359 type: string
364 enum: [ admin-perm, uns-admin-perm ]
365 dont-validate:
369 enum: [ strict, dump, dump-strict ]
370 config-cond:
374 type: string
375 # Start genetlink-legacy
376 fixed-header: *fixed-header
377 # End genetlink-legacy
378 do: &subop-type
383 request: &subop-attr-list
390 Names of attributes from the attribute-set (not full attribute
394 type: string
395 # Start genetlink-legacy
401 # End genetlink-legacy
402 reply: *subop-attr-list
405 type: string
408 type: string
409 dump: *subop-type
412 type: string
421 type: string
424 type: string
425 mcast-groups:
442 type: string
443 # Start genetlink-c
444 c-define-name:
446 type: string
447 # End genetlink-c
450 kernel-family:
461 type: string
462 sock-priv:
467 type: string