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/netlink-raw.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)?$
21 required: [ name, doc, attribute-sets, operations ]
26 type: string
28 type: string
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
36 # End netlink-raw
37 uapi-header:
38 description: Path to the uAPI header, default is linux/${family-name}.h
39 type: string
40 # Start genetlink-c
41 c-family-name:
43 type: string
44 c-version-name:
46 type: string
47 max-by-define:
50 # End genetlink-c
51 # Start genetlink-legacy
52 kernel-policy:
54 … Defines if the input policy in the kernel is global, per-operation, or split per operation type.
56 enum: [ split, per-op, global ]
57 # End genetlink-legacy
68 type: string
70 description: For C-compatible languages, header which already defines this value.
71 type: string
75 type: string
78 description: For const - the value.
79 type: [ string, integer ]
81 value-start:
83 type: [ string, integer ]
89 - type: string
90 - type: object
95 type: string
99 type: string
100 render-max:
103 # Start genetlink-c
104 enum-name:
106 type: [ string, "null" ]
107 name-prefix:
109 type: string
110 # End genetlink-c
111 # Start genetlink-legacy
121 type: string
124 enum: [ u8, u16, u32, u64, s8, s16, s32, s64, string, binary ]
126 $ref: '#/$defs/len-or-define'
127 byte-order:
128 enum: [ little-endian, big-endian ]
131 type: string
134 type: string
135 enum-as-flags:
141 display-hint: &display-hint
147 # End genetlink-legacy
149 attribute-sets:
161 type: string
162 name-prefix:
164 Prefix for the C enum name of the attributes. Default family[name]-set[name]-a-
165 type: string
166 enum-name:
168 type: string
171 type: string
172 subset-of:
174 Name of another space which this is a logical part of. Sub-spaces can be used to define
176 type: string
177 # Start genetlink-c
178 attr-cnt-name:
180 type: string
181 attr-max-name:
183 type: string
184 # End genetlink-c
194 type: string
195 type: &attr-type
198 string, nest, array-nest, nest-type-value ]
201 type: string
205 type-value:
206 … description: Name of the value extracted from the type of a nest-type-value attribute.
209 type: string
210 byte-order:
211 enum: [ little-endian, big-endian ]
212 multi-attr:
214 nested-attributes:
215 description: Name of the space (sub-space) used inside the attribute.
216 type: string
219 type: string
220 enum-as-flags:
231 flags-mask:
233 type: string
237 min-len:
239 $ref: '#/$defs/len-or-define'
240 max-len:
241 description: Max length for a string or a binary attribute.
242 $ref: '#/$defs/len-or-define'
243 sub-type: *attr-type
244 display-hint: *display-hint
245 # Start genetlink-c
246 name-prefix:
247 type: string
248 # End genetlink-c
249 # Start genetlink-legacy
252 type: string
253 # End genetlink-legacy
255 # Make sure name-prefix does not appear in subsets (subsets inherit naming)
257 name-prefix:
259 required: [ subset-of ]
260 subset-of:
262 required: [ name-prefix ]
270 enum-model:
278 name-prefix:
282 type: string
283 enum-name:
285 type: string
286 async-prefix:
287 … description: Same as name-prefix but used to render notifications and events to separate enum.
288 type: string
289 async-enum:
291 type: string
292 # Start genetlink-legacy
293 fixed-header: &fixed-header
295 Name of the structure defining the optional fixed-length protocol
298 type: string
299 # End genetlink-legacy
310 type: string
313 type: string
317 attribute-set:
321 type: string
326 enum: [ admin-perm ]
327 dont-validate:
332 # Start genetlink-legacy
333 fixed-header: *fixed-header
334 # End genetlink-legacy
335 do: &subop-type
340 request: &subop-attr-list
347 Names of attributes from the attribute-set (not full attribute
351 type: string
352 # Start genetlink-legacy
358 # End genetlink-legacy
359 reply: *subop-attr-list
362 type: string
365 type: string
366 dump: *subop-type
369 type: string
378 type: string
381 type: string
382 mcast-groups:
399 type: string
400 # Start genetlink-c
401 c-define-name:
403 type: string
404 # End genetlink-c
406 # Start netlink-raw
410 # End netlink-raw