Lines Matching +full:multi +full:- +full:attr
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:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
51 description: For C-compatible languages, header which already defines this value.
59 description: For const - the value.
62 value-start:
70 - type: string
71 - type: object
81 render-max:
85 attribute-sets:
98 name-prefix:
100 Prefix for the C enum name of the attributes. Default family[name]-set[name]-a-
102 enum-name:
108 subset-of:
110 Name of another space which this is a logical part of. Sub-spaces can be used to define
123 type: &attr-type
125 string, nest, array-nest, nest-type-value ]
132 type-value:
133 … description: Name of the value extracted from the type of a nest-type-value attribute.
137 byte-order:
138 enum: [ little-endian, big-endian ]
139 multi-attr:
141 nested-attributes:
142 description: Name of the space (sub-space) used inside the attribute.
147 enum-as-flags:
158 flags-mask:
164 min-len:
166 $ref: '#/$defs/len-or-define'
167 max-len:
169 $ref: '#/$defs/len-or-define'
170 sub-type: *attr-type
171 display-hint: &display-hint
178 # Make sure name-prefix does not appear in subsets (subsets inherit naming)
180 name-prefix:
182 required: [ subset-of ]
183 subset-of:
185 required: [ name-prefix ]
193 enum-model:
201 name-prefix:
206 enum-name:
209 async-prefix:
210 … description: Same as name-prefix but used to render notifications and events to separate enum.
212 async-enum:
232 attribute-set:
241 enum: [ admin-perm ]
242 dont-validate:
246 enum: [ strict, dump, dump-strict ]
247 do: &subop-type
252 request: &subop-attr-list
259 Names of attributes from the attribute-set (not full attribute
264 reply: *subop-attr-list
271 dump: *subop-type
287 mcast-groups: