nl-linux 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/binder.rb +103 -187
- data/generated/nl/linux/conntrack.rb +1053 -1649
- data/generated/nl/linux/dev_energymodel.rb +303 -265
- data/generated/nl/linux/devlink.rb +4904 -5576
- data/generated/nl/linux/dpll.rb +1097 -1467
- data/generated/nl/linux/drm_ras.rb +235 -195
- data/generated/nl/linux/ethtool.rb +6652 -7415
- data/generated/nl/linux/fou.rb +234 -255
- data/generated/nl/linux/handshake.rb +208 -280
- data/generated/nl/linux/lockd.rb +99 -73
- data/generated/nl/linux/mptcp_pm.rb +589 -687
- data/generated/nl/linux/net_shaper.rb +520 -615
- data/generated/nl/linux/netdev.rb +1640 -1987
- data/generated/nl/linux/nfsd.rb +1341 -1215
- data/generated/nl/linux/nftables.rb +5143 -4870
- data/generated/nl/linux/nl80211.rb +2542 -6316
- data/generated/nl/linux/nlctrl.rb +338 -483
- data/generated/nl/linux/ovpn.rb +1006 -1522
- data/generated/nl/linux/ovs_datapath.rb +291 -186
- data/generated/nl/linux/ovs_flow.rb +1393 -2065
- data/generated/nl/linux/ovs_packet.rb +186 -223
- data/generated/nl/linux/ovs_vport.rb +328 -285
- data/generated/nl/linux/psp.rb +812 -717
- data/generated/nl/linux/rt_addr.rb +513 -243
- data/generated/nl/linux/rt_link.rb +4504 -7238
- data/generated/nl/linux/rt_neigh.rb +935 -847
- data/generated/nl/linux/rt_route.rb +1198 -871
- data/generated/nl/linux/rt_rule.rb +680 -659
- data/generated/nl/linux/sunrpc_cache.rb +323 -321
- data/generated/nl/linux/tc.rb +9058 -10454
- data/generated/nl/linux/tcp_metrics.rb +258 -367
- data/generated/nl/linux/team.rb +327 -345
- data/generated/nl/linux/wireguard.rb +270 -434
- data/lib/nl/linux/nlctrl_resolver.rb +1 -1
- data/lib/nl/linux/version.rb +1 -1
- data/linux/conntrack.yaml +18 -3
- data/linux/devlink.yaml +26 -4
- data/linux/dpll.yaml +19 -0
- data/linux/netdev.yaml +21 -0
- data/linux/nfsd.yaml +111 -0
- data/linux/nl80211.yaml +2 -2
- data/linux/rt-addr.yaml +4 -0
- data/linux/rt-link.yaml +7 -0
- data/linux/rt-neigh.yaml +3 -0
- data/linux/rt-route.yaml +83 -2
- data/sig/generated/nl/linux/binder.rbs +77 -220
- data/sig/generated/nl/linux/conntrack.rbs +770 -1954
- data/sig/generated/nl/linux/dev_energymodel.rbs +207 -291
- data/sig/generated/nl/linux/devlink.rbs +3318 -6068
- data/sig/generated/nl/linux/dpll.rbs +791 -1589
- data/sig/generated/nl/linux/drm_ras.rbs +160 -208
- data/sig/generated/nl/linux/ethtool.rbs +4205 -7581
- data/sig/generated/nl/linux/fou.rbs +139 -254
- data/sig/generated/nl/linux/handshake.rbs +144 -319
- data/sig/generated/nl/linux/lockd.rbs +64 -74
- data/sig/generated/nl/linux/mptcp_pm.rbs +426 -835
- data/sig/generated/nl/linux/net_shaper.rbs +351 -644
- data/sig/generated/nl/linux/netdev.rbs +1151 -2146
- data/sig/generated/nl/linux/nfsd.rbs +1047 -1409
- data/sig/generated/nl/linux/nftables.rbs +2907 -5030
- data/sig/generated/nl/linux/nl80211.rbs +1807 -7964
- data/sig/generated/nl/linux/nlctrl.rbs +220 -544
- data/sig/generated/nl/linux/ovpn.rbs +835 -1859
- data/sig/generated/nl/linux/ovs_datapath.rbs +141 -181
- data/sig/generated/nl/linux/ovs_flow.rbs +817 -2332
- data/sig/generated/nl/linux/ovs_packet.rbs +110 -237
- data/sig/generated/nl/linux/ovs_vport.rbs +174 -294
- data/sig/generated/nl/linux/psp.rbs +550 -741
- data/sig/generated/nl/linux/rt_addr.rbs +188 -226
- data/sig/generated/nl/linux/rt_link.rbs +2687 -8370
- data/sig/generated/nl/linux/rt_neigh.rbs +471 -1005
- data/sig/generated/nl/linux/rt_route.rbs +632 -862
- data/sig/generated/nl/linux/rt_rule.rbs +217 -639
- data/sig/generated/nl/linux/sunrpc_cache.rbs +233 -369
- data/sig/generated/nl/linux/tc.rbs +6199 -13391
- data/sig/generated/nl/linux/tcp_metrics.rbs +179 -421
- data/sig/generated/nl/linux/team.rbs +232 -391
- data/sig/generated/nl/linux/wireguard.rbs +197 -502
- metadata +6 -6
|
@@ -86,602 +86,221 @@ module Nl
|
|
|
86
86
|
|
|
87
87
|
module AttributeSets
|
|
88
88
|
class CtrlAttrs < ::Nl::AttributeSet
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
class FamilyId < Attribute
|
|
94
|
-
TYPE: ::Integer
|
|
95
|
-
|
|
96
|
-
NAME: ::Symbol
|
|
97
|
-
|
|
98
|
-
# @private
|
|
99
|
-
ORDER: ::Integer
|
|
100
|
-
|
|
101
|
-
# @private
|
|
102
|
-
DATATYPE: untyped
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
class FamilyName < Attribute
|
|
106
|
-
TYPE: ::Integer
|
|
107
|
-
|
|
108
|
-
NAME: ::Symbol
|
|
109
|
-
|
|
110
|
-
# @private
|
|
111
|
-
ORDER: ::Integer
|
|
112
|
-
|
|
113
|
-
# @private
|
|
114
|
-
DATATYPE: untyped
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
class Version < Attribute
|
|
118
|
-
TYPE: ::Integer
|
|
119
|
-
|
|
120
|
-
NAME: ::Symbol
|
|
121
|
-
|
|
122
|
-
# @private
|
|
123
|
-
ORDER: ::Integer
|
|
124
|
-
|
|
125
|
-
# @private
|
|
126
|
-
DATATYPE: untyped
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
class Hdrsize < Attribute
|
|
130
|
-
TYPE: ::Integer
|
|
131
|
-
|
|
132
|
-
NAME: ::Symbol
|
|
133
|
-
|
|
134
|
-
# @private
|
|
135
|
-
ORDER: ::Integer
|
|
136
|
-
|
|
137
|
-
# @private
|
|
138
|
-
DATATYPE: untyped
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
class Maxattr < Attribute
|
|
142
|
-
TYPE: ::Integer
|
|
143
|
-
|
|
144
|
-
NAME: ::Symbol
|
|
145
|
-
|
|
146
|
-
# @private
|
|
147
|
-
ORDER: ::Integer
|
|
148
|
-
|
|
149
|
-
# @private
|
|
150
|
-
DATATYPE: untyped
|
|
151
|
-
end
|
|
89
|
+
module Definitions
|
|
90
|
+
# @rbs return: ::Integer
|
|
91
|
+
# @return [Integer]
|
|
92
|
+
def family_id: () -> ::Integer
|
|
152
93
|
|
|
153
|
-
|
|
154
|
-
|
|
94
|
+
# @rbs return: ::String
|
|
95
|
+
# @return [String]
|
|
96
|
+
def family_name: () -> ::String
|
|
155
97
|
|
|
156
|
-
|
|
98
|
+
# @rbs return: ::Integer
|
|
99
|
+
# @return [Integer]
|
|
100
|
+
def version: () -> ::Integer
|
|
157
101
|
|
|
158
|
-
# @
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
class McastGroups < Attribute
|
|
163
|
-
TYPE: ::Integer
|
|
164
|
-
|
|
165
|
-
NAME: ::Symbol
|
|
166
|
-
|
|
167
|
-
# @private
|
|
168
|
-
ORDER: ::Integer
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
class Policy < Attribute
|
|
172
|
-
TYPE: ::Integer
|
|
173
|
-
|
|
174
|
-
NAME: ::Symbol
|
|
102
|
+
# @rbs return: ::Integer
|
|
103
|
+
# @return [Integer]
|
|
104
|
+
def hdrsize: () -> ::Integer
|
|
175
105
|
|
|
176
|
-
# @
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
class OpPolicy < Attribute
|
|
181
|
-
TYPE: ::Integer
|
|
106
|
+
# @rbs return: ::Integer
|
|
107
|
+
# @return [Integer]
|
|
108
|
+
def maxattr: () -> ::Integer
|
|
182
109
|
|
|
183
|
-
|
|
110
|
+
# @rbs return: ::Array[AttributeSets::OpAttrs]
|
|
111
|
+
# @return [Array<AttributeSets::OpAttrs>]
|
|
112
|
+
def ops: () -> ::Array[AttributeSets::OpAttrs]
|
|
184
113
|
|
|
185
|
-
# @
|
|
186
|
-
|
|
187
|
-
|
|
114
|
+
# @rbs return: ::Array[AttributeSets::McastGroupAttrs]
|
|
115
|
+
# @return [Array<AttributeSets::McastGroupAttrs>]
|
|
116
|
+
def mcast_groups: () -> ::Array[AttributeSets::McastGroupAttrs]
|
|
188
117
|
|
|
189
|
-
|
|
190
|
-
|
|
118
|
+
# @rbs return: ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
119
|
+
# @return [Hash<Integer, Hash<Integer, AttributeSets::PolicyAttrs>>]
|
|
120
|
+
def policy: () -> ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
191
121
|
|
|
192
|
-
|
|
122
|
+
# @rbs return: ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
123
|
+
# @return [Hash<Integer, AttributeSets::OpPolicyAttrs>]
|
|
124
|
+
def op_policy: () -> ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
193
125
|
|
|
194
|
-
# @
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
# @private
|
|
198
|
-
DATATYPE: untyped
|
|
126
|
+
# @rbs return: ::Integer
|
|
127
|
+
# @return [Integer]
|
|
128
|
+
def op: () -> ::Integer
|
|
199
129
|
end
|
|
200
130
|
|
|
201
|
-
|
|
202
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
203
|
-
|
|
204
|
-
# @private
|
|
205
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
206
|
-
|
|
207
|
-
# @rbs return: ::Integer
|
|
208
|
-
# @return [Integer]
|
|
209
|
-
# @see FamilyId
|
|
210
|
-
def family_id: () -> ::Integer
|
|
211
|
-
|
|
212
|
-
# @rbs return: ::String
|
|
213
|
-
# @return [String]
|
|
214
|
-
# @see FamilyName
|
|
215
|
-
def family_name: () -> ::String
|
|
216
|
-
|
|
217
|
-
# @rbs return: ::Integer
|
|
218
|
-
# @return [Integer]
|
|
219
|
-
# @see Version
|
|
220
|
-
def version: () -> ::Integer
|
|
221
|
-
|
|
222
|
-
# @rbs return: ::Integer
|
|
223
|
-
# @return [Integer]
|
|
224
|
-
# @see Hdrsize
|
|
225
|
-
def hdrsize: () -> ::Integer
|
|
226
|
-
|
|
227
|
-
# @rbs return: ::Integer
|
|
228
|
-
# @return [Integer]
|
|
229
|
-
# @see Maxattr
|
|
230
|
-
def maxattr: () -> ::Integer
|
|
231
|
-
|
|
232
|
-
# @rbs return: ::Array[AttributeSets::OpAttrs]
|
|
233
|
-
# @return [Array<AttributeSets::OpAttrs>]
|
|
234
|
-
# @see Ops
|
|
235
|
-
def ops: () -> ::Array[AttributeSets::OpAttrs]
|
|
236
|
-
|
|
237
|
-
# @rbs return: ::Array[AttributeSets::McastGroupAttrs]
|
|
238
|
-
# @return [Array<AttributeSets::McastGroupAttrs>]
|
|
239
|
-
# @see McastGroups
|
|
240
|
-
def mcast_groups: () -> ::Array[AttributeSets::McastGroupAttrs]
|
|
241
|
-
|
|
242
|
-
# @rbs return: ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
243
|
-
# @return [Hash<Integer, Hash<Integer, AttributeSets::PolicyAttrs>>]
|
|
244
|
-
# @see Policy
|
|
245
|
-
def policy: () -> ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
246
|
-
|
|
247
|
-
# @rbs return: ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
248
|
-
# @return [Hash<Integer, AttributeSets::OpPolicyAttrs>]
|
|
249
|
-
# @see OpPolicy
|
|
250
|
-
def op_policy: () -> ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
251
|
-
|
|
252
|
-
# @rbs return: ::Integer
|
|
253
|
-
# @return [Integer]
|
|
254
|
-
# @see Op
|
|
255
|
-
def op: () -> ::Integer
|
|
131
|
+
include Definitions
|
|
256
132
|
|
|
257
|
-
#
|
|
258
|
-
# @rbs
|
|
259
|
-
|
|
260
|
-
# @param [Symbol] name
|
|
261
|
-
# @return [Attribute]
|
|
262
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
263
|
-
|
|
264
|
-
# Looks up Attribute class by type value.
|
|
265
|
-
# @rbs type: Integer
|
|
266
|
-
# @rbs return: Attribute
|
|
267
|
-
# @param [Integer] type
|
|
268
|
-
# @return [Attribute]
|
|
269
|
-
def self.by_type: (Integer type) -> Attribute
|
|
133
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
134
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
135
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
270
136
|
end
|
|
271
137
|
|
|
272
138
|
class McastGroupAttrs < ::Nl::AttributeSet
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
class Name < Attribute
|
|
278
|
-
TYPE: ::Integer
|
|
279
|
-
|
|
280
|
-
NAME: ::Symbol
|
|
281
|
-
|
|
282
|
-
# @private
|
|
283
|
-
ORDER: ::Integer
|
|
284
|
-
|
|
285
|
-
# @private
|
|
286
|
-
DATATYPE: untyped
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
class Id < Attribute
|
|
290
|
-
TYPE: ::Integer
|
|
291
|
-
|
|
292
|
-
NAME: ::Symbol
|
|
293
|
-
|
|
294
|
-
# @private
|
|
295
|
-
ORDER: ::Integer
|
|
139
|
+
module Definitions
|
|
140
|
+
# @rbs return: ::String
|
|
141
|
+
# @return [String]
|
|
142
|
+
def name: () -> ::String
|
|
296
143
|
|
|
297
|
-
# @
|
|
298
|
-
|
|
144
|
+
# @rbs return: ::Integer
|
|
145
|
+
# @return [Integer]
|
|
146
|
+
def id: () -> ::Integer
|
|
299
147
|
end
|
|
300
148
|
|
|
301
|
-
|
|
302
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
149
|
+
include Definitions
|
|
303
150
|
|
|
304
|
-
#
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
# @rbs return: ::String
|
|
308
|
-
# @return [String]
|
|
309
|
-
# @see Name
|
|
310
|
-
def name: () -> ::String
|
|
311
|
-
|
|
312
|
-
# @rbs return: ::Integer
|
|
313
|
-
# @return [Integer]
|
|
314
|
-
# @see Id
|
|
315
|
-
def id: () -> ::Integer
|
|
316
|
-
|
|
317
|
-
# Looks up Attribute class by name.
|
|
318
|
-
# @rbs name: Symbol
|
|
319
|
-
# @rbs return: Attribute
|
|
320
|
-
# @param [Symbol] name
|
|
321
|
-
# @return [Attribute]
|
|
322
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
323
|
-
|
|
324
|
-
# Looks up Attribute class by type value.
|
|
325
|
-
# @rbs type: Integer
|
|
326
|
-
# @rbs return: Attribute
|
|
327
|
-
# @param [Integer] type
|
|
328
|
-
# @return [Attribute]
|
|
329
|
-
def self.by_type: (Integer type) -> Attribute
|
|
151
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
152
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
153
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
330
154
|
end
|
|
331
155
|
|
|
332
156
|
class OpAttrs < ::Nl::AttributeSet
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
class Id < Attribute
|
|
338
|
-
TYPE: ::Integer
|
|
339
|
-
|
|
340
|
-
NAME: ::Symbol
|
|
341
|
-
|
|
342
|
-
# @private
|
|
343
|
-
ORDER: ::Integer
|
|
344
|
-
|
|
345
|
-
# @private
|
|
346
|
-
DATATYPE: untyped
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
# Known flags are defined in {Flags::OpFlags}.
|
|
350
|
-
class Flags < Attribute
|
|
351
|
-
TYPE: ::Integer
|
|
157
|
+
module Definitions
|
|
158
|
+
# @rbs return: ::Integer
|
|
159
|
+
# @return [Integer]
|
|
160
|
+
def id: () -> ::Integer
|
|
352
161
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
# @
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
# @private
|
|
359
|
-
DATATYPE: untyped
|
|
162
|
+
# Known flags are defined in {Flags::OpFlags}.
|
|
163
|
+
# @rbs return: ::Integer
|
|
164
|
+
# @return [Integer]
|
|
165
|
+
def flags: () -> ::Integer
|
|
360
166
|
end
|
|
361
167
|
|
|
362
|
-
|
|
363
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
364
|
-
|
|
365
|
-
# @private
|
|
366
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
367
|
-
|
|
368
|
-
# @rbs return: ::Integer
|
|
369
|
-
# @return [Integer]
|
|
370
|
-
# @see Id
|
|
371
|
-
def id: () -> ::Integer
|
|
168
|
+
include Definitions
|
|
372
169
|
|
|
373
|
-
#
|
|
374
|
-
# @rbs
|
|
375
|
-
|
|
376
|
-
# @see Flags
|
|
377
|
-
def flags: () -> ::Integer
|
|
378
|
-
|
|
379
|
-
# Looks up Attribute class by name.
|
|
380
|
-
# @rbs name: Symbol
|
|
381
|
-
# @rbs return: Attribute
|
|
382
|
-
# @param [Symbol] name
|
|
383
|
-
# @return [Attribute]
|
|
384
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
385
|
-
|
|
386
|
-
# Looks up Attribute class by type value.
|
|
387
|
-
# @rbs type: Integer
|
|
388
|
-
# @rbs return: Attribute
|
|
389
|
-
# @param [Integer] type
|
|
390
|
-
# @return [Attribute]
|
|
391
|
-
def self.by_type: (Integer type) -> Attribute
|
|
170
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
171
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
172
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
392
173
|
end
|
|
393
174
|
|
|
394
175
|
class PolicyAttrs < ::Nl::AttributeSet
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class Type < Attribute
|
|
401
|
-
TYPE: ::Integer
|
|
402
|
-
|
|
403
|
-
NAME: ::Symbol
|
|
404
|
-
|
|
405
|
-
# @private
|
|
406
|
-
ORDER: ::Integer
|
|
407
|
-
|
|
408
|
-
# @private
|
|
409
|
-
DATATYPE: untyped
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
class MinValueS < Attribute
|
|
413
|
-
TYPE: ::Integer
|
|
414
|
-
|
|
415
|
-
NAME: ::Symbol
|
|
416
|
-
|
|
417
|
-
# @private
|
|
418
|
-
ORDER: ::Integer
|
|
419
|
-
|
|
420
|
-
# @private
|
|
421
|
-
DATATYPE: untyped
|
|
422
|
-
end
|
|
423
|
-
|
|
424
|
-
class MaxValueS < Attribute
|
|
425
|
-
TYPE: ::Integer
|
|
426
|
-
|
|
427
|
-
NAME: ::Symbol
|
|
428
|
-
|
|
429
|
-
# @private
|
|
430
|
-
ORDER: ::Integer
|
|
431
|
-
|
|
432
|
-
# @private
|
|
433
|
-
DATATYPE: untyped
|
|
434
|
-
end
|
|
435
|
-
|
|
436
|
-
class MinValueU < Attribute
|
|
437
|
-
TYPE: ::Integer
|
|
438
|
-
|
|
439
|
-
NAME: ::Symbol
|
|
176
|
+
module Definitions
|
|
177
|
+
# Known enum values are defined in {Enums::AttrType}.
|
|
178
|
+
# @rbs return: ::Integer
|
|
179
|
+
# @return [Integer]
|
|
180
|
+
def type: () -> ::Integer
|
|
440
181
|
|
|
441
|
-
# @
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
# @private
|
|
445
|
-
DATATYPE: untyped
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
class MaxValueU < Attribute
|
|
449
|
-
TYPE: ::Integer
|
|
450
|
-
|
|
451
|
-
NAME: ::Symbol
|
|
452
|
-
|
|
453
|
-
# @private
|
|
454
|
-
ORDER: ::Integer
|
|
455
|
-
|
|
456
|
-
# @private
|
|
457
|
-
DATATYPE: untyped
|
|
458
|
-
end
|
|
182
|
+
# @rbs return: ::Integer
|
|
183
|
+
# @return [Integer]
|
|
184
|
+
def min_value_s: () -> ::Integer
|
|
459
185
|
|
|
460
|
-
|
|
461
|
-
|
|
186
|
+
# @rbs return: ::Integer
|
|
187
|
+
# @return [Integer]
|
|
188
|
+
def max_value_s: () -> ::Integer
|
|
462
189
|
|
|
463
|
-
|
|
190
|
+
# @rbs return: ::Integer
|
|
191
|
+
# @return [Integer]
|
|
192
|
+
def min_value_u: () -> ::Integer
|
|
464
193
|
|
|
465
|
-
# @
|
|
466
|
-
|
|
194
|
+
# @rbs return: ::Integer
|
|
195
|
+
# @return [Integer]
|
|
196
|
+
def max_value_u: () -> ::Integer
|
|
467
197
|
|
|
468
|
-
# @
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
class MaxLength < Attribute
|
|
473
|
-
TYPE: ::Integer
|
|
474
|
-
|
|
475
|
-
NAME: ::Symbol
|
|
476
|
-
|
|
477
|
-
# @private
|
|
478
|
-
ORDER: ::Integer
|
|
198
|
+
# @rbs return: ::Integer
|
|
199
|
+
# @return [Integer]
|
|
200
|
+
def min_length: () -> ::Integer
|
|
479
201
|
|
|
480
|
-
# @
|
|
481
|
-
|
|
482
|
-
|
|
202
|
+
# @rbs return: ::Integer
|
|
203
|
+
# @return [Integer]
|
|
204
|
+
def max_length: () -> ::Integer
|
|
483
205
|
|
|
484
|
-
|
|
485
|
-
|
|
206
|
+
# @rbs return: ::Integer
|
|
207
|
+
# @return [Integer]
|
|
208
|
+
def policy_idx: () -> ::Integer
|
|
486
209
|
|
|
487
|
-
|
|
210
|
+
# @rbs return: ::Integer
|
|
211
|
+
# @return [Integer]
|
|
212
|
+
def policy_maxtype: () -> ::Integer
|
|
488
213
|
|
|
489
|
-
# @
|
|
490
|
-
|
|
214
|
+
# @rbs return: ::Integer
|
|
215
|
+
# @return [Integer]
|
|
216
|
+
def bitfield32_mask: () -> ::Integer
|
|
491
217
|
|
|
492
|
-
# @
|
|
493
|
-
|
|
218
|
+
# @rbs return: ::Integer
|
|
219
|
+
# @return [Integer]
|
|
220
|
+
def mask: () -> ::Integer
|
|
494
221
|
end
|
|
495
222
|
|
|
496
|
-
|
|
497
|
-
TYPE: ::Integer
|
|
223
|
+
include Definitions
|
|
498
224
|
|
|
499
|
-
|
|
225
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
226
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
227
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
228
|
+
end
|
|
500
229
|
|
|
501
|
-
|
|
502
|
-
|
|
230
|
+
class OpPolicyAttrs < ::Nl::AttributeSet
|
|
231
|
+
module Definitions
|
|
232
|
+
# @rbs return: ::Integer
|
|
233
|
+
# @return [Integer]
|
|
234
|
+
def do: () -> ::Integer
|
|
503
235
|
|
|
504
|
-
# @
|
|
505
|
-
|
|
236
|
+
# @rbs return: ::Integer
|
|
237
|
+
# @return [Integer]
|
|
238
|
+
def dump: () -> ::Integer
|
|
506
239
|
end
|
|
507
240
|
|
|
508
|
-
|
|
509
|
-
TYPE: ::Integer
|
|
241
|
+
include Definitions
|
|
510
242
|
|
|
511
|
-
|
|
243
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
244
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
245
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
246
|
+
end
|
|
247
|
+
end
|
|
512
248
|
|
|
249
|
+
module AttributeSets
|
|
250
|
+
class CtrlAttrs
|
|
251
|
+
module Definitions
|
|
513
252
|
# @private
|
|
514
|
-
|
|
253
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
515
254
|
|
|
516
255
|
# @private
|
|
517
|
-
|
|
256
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
518
257
|
end
|
|
258
|
+
end
|
|
519
259
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
NAME: ::Symbol
|
|
524
|
-
|
|
260
|
+
class McastGroupAttrs
|
|
261
|
+
module Definitions
|
|
525
262
|
# @private
|
|
526
|
-
|
|
263
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
527
264
|
|
|
528
265
|
# @private
|
|
529
|
-
|
|
266
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
530
267
|
end
|
|
268
|
+
end
|
|
531
269
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
NAME: ::Symbol
|
|
536
|
-
|
|
270
|
+
class OpAttrs
|
|
271
|
+
module Definitions
|
|
537
272
|
# @private
|
|
538
|
-
|
|
273
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
539
274
|
|
|
540
275
|
# @private
|
|
541
|
-
|
|
276
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
542
277
|
end
|
|
543
|
-
|
|
544
|
-
# @private
|
|
545
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
546
|
-
|
|
547
|
-
# @private
|
|
548
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
549
|
-
|
|
550
|
-
# Known enum values are defined in {Enums::AttrType}.
|
|
551
|
-
# @rbs return: ::Integer
|
|
552
|
-
# @return [Integer]
|
|
553
|
-
# @see Type
|
|
554
|
-
def type: () -> ::Integer
|
|
555
|
-
|
|
556
|
-
# @rbs return: ::Integer
|
|
557
|
-
# @return [Integer]
|
|
558
|
-
# @see MinValueS
|
|
559
|
-
def min_value_s: () -> ::Integer
|
|
560
|
-
|
|
561
|
-
# @rbs return: ::Integer
|
|
562
|
-
# @return [Integer]
|
|
563
|
-
# @see MaxValueS
|
|
564
|
-
def max_value_s: () -> ::Integer
|
|
565
|
-
|
|
566
|
-
# @rbs return: ::Integer
|
|
567
|
-
# @return [Integer]
|
|
568
|
-
# @see MinValueU
|
|
569
|
-
def min_value_u: () -> ::Integer
|
|
570
|
-
|
|
571
|
-
# @rbs return: ::Integer
|
|
572
|
-
# @return [Integer]
|
|
573
|
-
# @see MaxValueU
|
|
574
|
-
def max_value_u: () -> ::Integer
|
|
575
|
-
|
|
576
|
-
# @rbs return: ::Integer
|
|
577
|
-
# @return [Integer]
|
|
578
|
-
# @see MinLength
|
|
579
|
-
def min_length: () -> ::Integer
|
|
580
|
-
|
|
581
|
-
# @rbs return: ::Integer
|
|
582
|
-
# @return [Integer]
|
|
583
|
-
# @see MaxLength
|
|
584
|
-
def max_length: () -> ::Integer
|
|
585
|
-
|
|
586
|
-
# @rbs return: ::Integer
|
|
587
|
-
# @return [Integer]
|
|
588
|
-
# @see PolicyIdx
|
|
589
|
-
def policy_idx: () -> ::Integer
|
|
590
|
-
|
|
591
|
-
# @rbs return: ::Integer
|
|
592
|
-
# @return [Integer]
|
|
593
|
-
# @see PolicyMaxtype
|
|
594
|
-
def policy_maxtype: () -> ::Integer
|
|
595
|
-
|
|
596
|
-
# @rbs return: ::Integer
|
|
597
|
-
# @return [Integer]
|
|
598
|
-
# @see Bitfield32Mask
|
|
599
|
-
def bitfield32_mask: () -> ::Integer
|
|
600
|
-
|
|
601
|
-
# @rbs return: ::Integer
|
|
602
|
-
# @return [Integer]
|
|
603
|
-
# @see Mask
|
|
604
|
-
def mask: () -> ::Integer
|
|
605
|
-
|
|
606
|
-
# Looks up Attribute class by name.
|
|
607
|
-
# @rbs name: Symbol
|
|
608
|
-
# @rbs return: Attribute
|
|
609
|
-
# @param [Symbol] name
|
|
610
|
-
# @return [Attribute]
|
|
611
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
612
|
-
|
|
613
|
-
# Looks up Attribute class by type value.
|
|
614
|
-
# @rbs type: Integer
|
|
615
|
-
# @rbs return: Attribute
|
|
616
|
-
# @param [Integer] type
|
|
617
|
-
# @return [Attribute]
|
|
618
|
-
def self.by_type: (Integer type) -> Attribute
|
|
619
278
|
end
|
|
620
279
|
|
|
621
|
-
class
|
|
622
|
-
|
|
623
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
624
|
-
end
|
|
625
|
-
|
|
626
|
-
class Do < Attribute
|
|
627
|
-
TYPE: ::Integer
|
|
628
|
-
|
|
629
|
-
NAME: ::Symbol
|
|
630
|
-
|
|
280
|
+
class PolicyAttrs
|
|
281
|
+
module Definitions
|
|
631
282
|
# @private
|
|
632
|
-
|
|
283
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
633
284
|
|
|
634
285
|
# @private
|
|
635
|
-
|
|
286
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
636
287
|
end
|
|
288
|
+
end
|
|
637
289
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
NAME: ::Symbol
|
|
642
|
-
|
|
290
|
+
class OpPolicyAttrs
|
|
291
|
+
module Definitions
|
|
643
292
|
# @private
|
|
644
|
-
|
|
293
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
645
294
|
|
|
646
295
|
# @private
|
|
647
|
-
|
|
296
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
648
297
|
end
|
|
649
|
-
|
|
650
|
-
# @private
|
|
651
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
652
|
-
|
|
653
|
-
# @private
|
|
654
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
655
|
-
|
|
656
|
-
# @rbs return: ::Integer
|
|
657
|
-
# @return [Integer]
|
|
658
|
-
# @see Do
|
|
659
|
-
def do: () -> ::Integer
|
|
660
|
-
|
|
661
|
-
# @rbs return: ::Integer
|
|
662
|
-
# @return [Integer]
|
|
663
|
-
# @see Dump
|
|
664
|
-
def dump: () -> ::Integer
|
|
665
|
-
|
|
666
|
-
# Looks up Attribute class by name.
|
|
667
|
-
# @rbs name: Symbol
|
|
668
|
-
# @rbs return: Attribute
|
|
669
|
-
# @param [Symbol] name
|
|
670
|
-
# @return [Attribute]
|
|
671
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
672
|
-
|
|
673
|
-
# Looks up Attribute class by type value.
|
|
674
|
-
# @rbs type: Integer
|
|
675
|
-
# @rbs return: Attribute
|
|
676
|
-
# @param [Integer] type
|
|
677
|
-
# @return [Attribute]
|
|
678
|
-
def self.by_type: (Integer type) -> Attribute
|
|
679
298
|
end
|
|
680
299
|
end
|
|
681
300
|
|
|
682
301
|
module Messages
|
|
683
302
|
# Get / dump genetlink families
|
|
684
|
-
class DoGetfamilyRequest < ::Nl::
|
|
303
|
+
class DoGetfamilyRequest < ::Nl::Message
|
|
685
304
|
TYPE: ::Integer
|
|
686
305
|
|
|
687
306
|
FIXED_HEADER: untyped
|
|
@@ -690,14 +309,26 @@ module Nl
|
|
|
690
309
|
|
|
691
310
|
ATTRIBUTES: untyped
|
|
692
311
|
|
|
312
|
+
include ATTRIBUTE_SET::Definitions
|
|
313
|
+
|
|
314
|
+
def initialize: (?untyped attributes) -> untyped
|
|
315
|
+
|
|
316
|
+
# @private
|
|
317
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
318
|
+
|
|
319
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
320
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
321
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
322
|
+
|
|
323
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
324
|
+
|
|
693
325
|
# @rbs return: ::String
|
|
694
326
|
# @return [String]
|
|
695
|
-
# @see AttributeSets::CtrlAttrs::FamilyName
|
|
696
327
|
def family_name: () -> ::String
|
|
697
328
|
end
|
|
698
329
|
|
|
699
330
|
# Get / dump genetlink families
|
|
700
|
-
class DoGetfamilyReply < ::Nl::
|
|
331
|
+
class DoGetfamilyReply < ::Nl::Message
|
|
701
332
|
TYPE: ::Integer
|
|
702
333
|
|
|
703
334
|
FIXED_HEADER: untyped
|
|
@@ -706,44 +337,50 @@ module Nl
|
|
|
706
337
|
|
|
707
338
|
ATTRIBUTES: untyped
|
|
708
339
|
|
|
340
|
+
include ATTRIBUTE_SET::Definitions
|
|
341
|
+
|
|
342
|
+
def initialize: (?untyped attributes) -> untyped
|
|
343
|
+
|
|
344
|
+
# @private
|
|
345
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
346
|
+
|
|
347
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
348
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
349
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
350
|
+
|
|
351
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
352
|
+
|
|
709
353
|
# @rbs return: ::Integer
|
|
710
354
|
# @return [Integer]
|
|
711
|
-
# @see AttributeSets::CtrlAttrs::FamilyId
|
|
712
355
|
def family_id: () -> ::Integer
|
|
713
356
|
|
|
714
357
|
# @rbs return: ::String
|
|
715
358
|
# @return [String]
|
|
716
|
-
# @see AttributeSets::CtrlAttrs::FamilyName
|
|
717
359
|
def family_name: () -> ::String
|
|
718
360
|
|
|
719
361
|
# @rbs return: ::Integer
|
|
720
362
|
# @return [Integer]
|
|
721
|
-
# @see AttributeSets::CtrlAttrs::Version
|
|
722
363
|
def version: () -> ::Integer
|
|
723
364
|
|
|
724
365
|
# @rbs return: ::Integer
|
|
725
366
|
# @return [Integer]
|
|
726
|
-
# @see AttributeSets::CtrlAttrs::Hdrsize
|
|
727
367
|
def hdrsize: () -> ::Integer
|
|
728
368
|
|
|
729
369
|
# @rbs return: ::Integer
|
|
730
370
|
# @return [Integer]
|
|
731
|
-
# @see AttributeSets::CtrlAttrs::Maxattr
|
|
732
371
|
def maxattr: () -> ::Integer
|
|
733
372
|
|
|
734
373
|
# @rbs return: ::Array[AttributeSets::OpAttrs]
|
|
735
374
|
# @return [Array<AttributeSets::OpAttrs>]
|
|
736
|
-
# @see AttributeSets::CtrlAttrs::Ops
|
|
737
375
|
def ops: () -> ::Array[AttributeSets::OpAttrs]
|
|
738
376
|
|
|
739
377
|
# @rbs return: ::Array[AttributeSets::McastGroupAttrs]
|
|
740
378
|
# @return [Array<AttributeSets::McastGroupAttrs>]
|
|
741
|
-
# @see AttributeSets::CtrlAttrs::McastGroups
|
|
742
379
|
def mcast_groups: () -> ::Array[AttributeSets::McastGroupAttrs]
|
|
743
380
|
end
|
|
744
381
|
|
|
745
382
|
# Get / dump genetlink families
|
|
746
|
-
class DumpGetfamilyRequest < ::Nl::
|
|
383
|
+
class DumpGetfamilyRequest < ::Nl::Message
|
|
747
384
|
TYPE: ::Integer
|
|
748
385
|
|
|
749
386
|
FIXED_HEADER: untyped
|
|
@@ -751,10 +388,23 @@ module Nl
|
|
|
751
388
|
ATTRIBUTE_SET: untyped
|
|
752
389
|
|
|
753
390
|
ATTRIBUTES: untyped
|
|
391
|
+
|
|
392
|
+
include ATTRIBUTE_SET::Definitions
|
|
393
|
+
|
|
394
|
+
def initialize: (?untyped attributes) -> untyped
|
|
395
|
+
|
|
396
|
+
# @private
|
|
397
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
398
|
+
|
|
399
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
400
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
401
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
402
|
+
|
|
403
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
754
404
|
end
|
|
755
405
|
|
|
756
406
|
# Get / dump genetlink families
|
|
757
|
-
class DumpGetfamilyReply < ::Nl::
|
|
407
|
+
class DumpGetfamilyReply < ::Nl::Message
|
|
758
408
|
TYPE: ::Integer
|
|
759
409
|
|
|
760
410
|
FIXED_HEADER: untyped
|
|
@@ -763,44 +413,50 @@ module Nl
|
|
|
763
413
|
|
|
764
414
|
ATTRIBUTES: untyped
|
|
765
415
|
|
|
416
|
+
include ATTRIBUTE_SET::Definitions
|
|
417
|
+
|
|
418
|
+
def initialize: (?untyped attributes) -> untyped
|
|
419
|
+
|
|
420
|
+
# @private
|
|
421
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
422
|
+
|
|
423
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
424
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
425
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
426
|
+
|
|
427
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
428
|
+
|
|
766
429
|
# @rbs return: ::Integer
|
|
767
430
|
# @return [Integer]
|
|
768
|
-
# @see AttributeSets::CtrlAttrs::FamilyId
|
|
769
431
|
def family_id: () -> ::Integer
|
|
770
432
|
|
|
771
433
|
# @rbs return: ::String
|
|
772
434
|
# @return [String]
|
|
773
|
-
# @see AttributeSets::CtrlAttrs::FamilyName
|
|
774
435
|
def family_name: () -> ::String
|
|
775
436
|
|
|
776
437
|
# @rbs return: ::Integer
|
|
777
438
|
# @return [Integer]
|
|
778
|
-
# @see AttributeSets::CtrlAttrs::Version
|
|
779
439
|
def version: () -> ::Integer
|
|
780
440
|
|
|
781
441
|
# @rbs return: ::Integer
|
|
782
442
|
# @return [Integer]
|
|
783
|
-
# @see AttributeSets::CtrlAttrs::Hdrsize
|
|
784
443
|
def hdrsize: () -> ::Integer
|
|
785
444
|
|
|
786
445
|
# @rbs return: ::Integer
|
|
787
446
|
# @return [Integer]
|
|
788
|
-
# @see AttributeSets::CtrlAttrs::Maxattr
|
|
789
447
|
def maxattr: () -> ::Integer
|
|
790
448
|
|
|
791
449
|
# @rbs return: ::Array[AttributeSets::OpAttrs]
|
|
792
450
|
# @return [Array<AttributeSets::OpAttrs>]
|
|
793
|
-
# @see AttributeSets::CtrlAttrs::Ops
|
|
794
451
|
def ops: () -> ::Array[AttributeSets::OpAttrs]
|
|
795
452
|
|
|
796
453
|
# @rbs return: ::Array[AttributeSets::McastGroupAttrs]
|
|
797
454
|
# @return [Array<AttributeSets::McastGroupAttrs>]
|
|
798
|
-
# @see AttributeSets::CtrlAttrs::McastGroups
|
|
799
455
|
def mcast_groups: () -> ::Array[AttributeSets::McastGroupAttrs]
|
|
800
456
|
end
|
|
801
457
|
|
|
802
458
|
# Get / dump genetlink policies
|
|
803
|
-
class DumpGetpolicyRequest < ::Nl::
|
|
459
|
+
class DumpGetpolicyRequest < ::Nl::Message
|
|
804
460
|
TYPE: ::Integer
|
|
805
461
|
|
|
806
462
|
FIXED_HEADER: untyped
|
|
@@ -809,24 +465,34 @@ module Nl
|
|
|
809
465
|
|
|
810
466
|
ATTRIBUTES: untyped
|
|
811
467
|
|
|
468
|
+
include ATTRIBUTE_SET::Definitions
|
|
469
|
+
|
|
470
|
+
def initialize: (?untyped attributes) -> untyped
|
|
471
|
+
|
|
472
|
+
# @private
|
|
473
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
474
|
+
|
|
475
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
476
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
477
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
478
|
+
|
|
479
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
480
|
+
|
|
812
481
|
# @rbs return: ::Integer
|
|
813
482
|
# @return [Integer]
|
|
814
|
-
# @see AttributeSets::CtrlAttrs::FamilyId
|
|
815
483
|
def family_id: () -> ::Integer
|
|
816
484
|
|
|
817
485
|
# @rbs return: ::String
|
|
818
486
|
# @return [String]
|
|
819
|
-
# @see AttributeSets::CtrlAttrs::FamilyName
|
|
820
487
|
def family_name: () -> ::String
|
|
821
488
|
|
|
822
489
|
# @rbs return: ::Integer
|
|
823
490
|
# @return [Integer]
|
|
824
|
-
# @see AttributeSets::CtrlAttrs::Op
|
|
825
491
|
def op: () -> ::Integer
|
|
826
492
|
end
|
|
827
493
|
|
|
828
494
|
# Get / dump genetlink policies
|
|
829
|
-
class DumpGetpolicyReply < ::Nl::
|
|
495
|
+
class DumpGetpolicyReply < ::Nl::Message
|
|
830
496
|
TYPE: ::Integer
|
|
831
497
|
|
|
832
498
|
FIXED_HEADER: untyped
|
|
@@ -835,19 +501,29 @@ module Nl
|
|
|
835
501
|
|
|
836
502
|
ATTRIBUTES: untyped
|
|
837
503
|
|
|
504
|
+
include ATTRIBUTE_SET::Definitions
|
|
505
|
+
|
|
506
|
+
def initialize: (?untyped attributes) -> untyped
|
|
507
|
+
|
|
508
|
+
# @private
|
|
509
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
510
|
+
|
|
511
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
512
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
513
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
514
|
+
|
|
515
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
516
|
+
|
|
838
517
|
# @rbs return: ::Integer
|
|
839
518
|
# @return [Integer]
|
|
840
|
-
# @see AttributeSets::CtrlAttrs::FamilyId
|
|
841
519
|
def family_id: () -> ::Integer
|
|
842
520
|
|
|
843
521
|
# @rbs return: ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
844
522
|
# @return [Hash<Integer, Hash<Integer, AttributeSets::PolicyAttrs>>]
|
|
845
|
-
# @see AttributeSets::CtrlAttrs::Policy
|
|
846
523
|
def policy: () -> ::Hash[::Integer, ::Hash[::Integer, AttributeSets::PolicyAttrs]]
|
|
847
524
|
|
|
848
525
|
# @rbs return: ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
849
526
|
# @return [Hash<Integer, AttributeSets::OpPolicyAttrs>]
|
|
850
|
-
# @see AttributeSets::CtrlAttrs::OpPolicy
|
|
851
527
|
def op_policy: () -> ::Hash[::Integer, AttributeSets::OpPolicyAttrs]
|
|
852
528
|
end
|
|
853
529
|
end
|