nl-linux 0.4.1 → 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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/NLSPEC_VERSION +1 -1
  4. data/generated/nl/linux/binder.rb +103 -187
  5. data/generated/nl/linux/conntrack.rb +1053 -1649
  6. data/generated/nl/linux/dev_energymodel.rb +303 -265
  7. data/generated/nl/linux/devlink.rb +4904 -5576
  8. data/generated/nl/linux/dpll.rb +1097 -1467
  9. data/generated/nl/linux/drm_ras.rb +235 -195
  10. data/generated/nl/linux/ethtool.rb +6652 -7415
  11. data/generated/nl/linux/fou.rb +234 -255
  12. data/generated/nl/linux/handshake.rb +208 -280
  13. data/generated/nl/linux/lockd.rb +99 -73
  14. data/generated/nl/linux/mptcp_pm.rb +589 -687
  15. data/generated/nl/linux/net_shaper.rb +520 -615
  16. data/generated/nl/linux/netdev.rb +1640 -1987
  17. data/generated/nl/linux/nfsd.rb +1341 -1215
  18. data/generated/nl/linux/nftables.rb +5143 -4870
  19. data/generated/nl/linux/nl80211.rb +2542 -6316
  20. data/generated/nl/linux/nlctrl.rb +338 -483
  21. data/generated/nl/linux/ovpn.rb +1006 -1522
  22. data/generated/nl/linux/ovs_datapath.rb +291 -186
  23. data/generated/nl/linux/ovs_flow.rb +1393 -2065
  24. data/generated/nl/linux/ovs_packet.rb +186 -223
  25. data/generated/nl/linux/ovs_vport.rb +328 -285
  26. data/generated/nl/linux/psp.rb +812 -717
  27. data/generated/nl/linux/rt_addr.rb +513 -243
  28. data/generated/nl/linux/rt_link.rb +4504 -7238
  29. data/generated/nl/linux/rt_neigh.rb +935 -847
  30. data/generated/nl/linux/rt_route.rb +1198 -871
  31. data/generated/nl/linux/rt_rule.rb +680 -659
  32. data/generated/nl/linux/sunrpc_cache.rb +323 -321
  33. data/generated/nl/linux/tc.rb +9058 -10454
  34. data/generated/nl/linux/tcp_metrics.rb +258 -367
  35. data/generated/nl/linux/team.rb +327 -345
  36. data/generated/nl/linux/wireguard.rb +270 -434
  37. data/lib/nl/linux/nlctrl_resolver.rb +1 -1
  38. data/lib/nl/linux/version.rb +1 -1
  39. data/linux/conntrack.yaml +18 -3
  40. data/linux/devlink.yaml +26 -4
  41. data/linux/dpll.yaml +19 -0
  42. data/linux/netdev.yaml +21 -0
  43. data/linux/nfsd.yaml +111 -0
  44. data/linux/nl80211.yaml +2 -2
  45. data/linux/rt-addr.yaml +4 -0
  46. data/linux/rt-link.yaml +7 -0
  47. data/linux/rt-neigh.yaml +3 -0
  48. data/linux/rt-route.yaml +83 -2
  49. data/sig/generated/nl/linux/binder.rbs +77 -220
  50. data/sig/generated/nl/linux/conntrack.rbs +770 -1954
  51. data/sig/generated/nl/linux/dev_energymodel.rbs +207 -291
  52. data/sig/generated/nl/linux/devlink.rbs +3318 -6068
  53. data/sig/generated/nl/linux/dpll.rbs +791 -1589
  54. data/sig/generated/nl/linux/drm_ras.rbs +160 -208
  55. data/sig/generated/nl/linux/ethtool.rbs +4205 -7581
  56. data/sig/generated/nl/linux/fou.rbs +139 -254
  57. data/sig/generated/nl/linux/handshake.rbs +144 -319
  58. data/sig/generated/nl/linux/lockd.rbs +64 -74
  59. data/sig/generated/nl/linux/mptcp_pm.rbs +426 -835
  60. data/sig/generated/nl/linux/net_shaper.rbs +351 -644
  61. data/sig/generated/nl/linux/netdev.rbs +1151 -2146
  62. data/sig/generated/nl/linux/nfsd.rbs +1047 -1409
  63. data/sig/generated/nl/linux/nftables.rbs +2907 -5030
  64. data/sig/generated/nl/linux/nl80211.rbs +1807 -7964
  65. data/sig/generated/nl/linux/nlctrl.rbs +220 -544
  66. data/sig/generated/nl/linux/ovpn.rbs +835 -1859
  67. data/sig/generated/nl/linux/ovs_datapath.rbs +141 -181
  68. data/sig/generated/nl/linux/ovs_flow.rbs +817 -2332
  69. data/sig/generated/nl/linux/ovs_packet.rbs +110 -237
  70. data/sig/generated/nl/linux/ovs_vport.rbs +174 -294
  71. data/sig/generated/nl/linux/psp.rbs +550 -741
  72. data/sig/generated/nl/linux/rt_addr.rbs +188 -226
  73. data/sig/generated/nl/linux/rt_link.rbs +2687 -8370
  74. data/sig/generated/nl/linux/rt_neigh.rbs +471 -1005
  75. data/sig/generated/nl/linux/rt_route.rbs +632 -862
  76. data/sig/generated/nl/linux/rt_rule.rbs +217 -639
  77. data/sig/generated/nl/linux/sunrpc_cache.rbs +233 -369
  78. data/sig/generated/nl/linux/tc.rbs +6199 -13391
  79. data/sig/generated/nl/linux/tcp_metrics.rbs +179 -421
  80. data/sig/generated/nl/linux/team.rbs +232 -391
  81. data/sig/generated/nl/linux/wireguard.rbs +197 -502
  82. metadata +6 -6
@@ -39,421 +39,187 @@ module Nl
39
39
 
40
40
  module AttributeSets
41
41
  class CacheNotify < ::Nl::AttributeSet
42
- # Abstract class
43
- class Attribute < ::Nl::AttributeSet::Attribute
42
+ module Definitions
43
+ # Known flags are defined in {Flags::CacheType}.
44
+ # @rbs return: ::Integer
45
+ # @return [Integer]
46
+ def cache_type: () -> ::Integer
44
47
  end
45
48
 
46
- # Known flags are defined in {Flags::CacheType}.
47
- class CacheType < Attribute
48
- TYPE: ::Integer
49
-
50
- NAME: ::Symbol
51
-
52
- # @private
53
- ORDER: ::Integer
54
-
55
- # @private
56
- DATATYPE: untyped
57
- end
49
+ include Definitions
58
50
 
59
- # @private
60
- BY_NAME: Hash[::Symbol, Attribute]
61
-
62
- # @private
63
- BY_TYPE: Hash[::Integer, Attribute]
64
-
65
- # Known flags are defined in {Flags::CacheType}.
66
- # @rbs return: ::Integer
67
- # @return [Integer]
68
- # @see CacheType
69
- def cache_type: () -> ::Integer
70
-
71
- # Looks up Attribute class by name.
72
- # @rbs name: Symbol
73
- # @rbs return: Attribute
74
- # @param [Symbol] name
75
- # @return [Attribute]
76
- def self.by_name: (Symbol name) -> Attribute
77
-
78
- # Looks up Attribute class by type value.
79
- # @rbs type: Integer
80
- # @rbs return: Attribute
81
- # @param [Integer] type
82
- # @return [Attribute]
83
- def self.by_type: (Integer type) -> Attribute
51
+ # Decodes attributes from the decoder into a new attribute set.
52
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
53
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
84
54
  end
85
55
 
86
56
  class IpMap < ::Nl::AttributeSet
87
- # Abstract class
88
- class Attribute < ::Nl::AttributeSet::Attribute
89
- end
90
-
91
- class Seqno < Attribute
92
- TYPE: ::Integer
93
-
94
- NAME: ::Symbol
95
-
96
- # @private
97
- ORDER: ::Integer
98
-
99
- # @private
100
- DATATYPE: untyped
101
- end
102
-
103
- class Class < Attribute
104
- TYPE: ::Integer
105
-
106
- NAME: ::Symbol
107
-
108
- # @private
109
- ORDER: ::Integer
110
-
111
- # @private
112
- DATATYPE: untyped
113
- end
114
-
115
- class Addr < Attribute
116
- TYPE: ::Integer
117
-
118
- NAME: ::Symbol
119
-
120
- # @private
121
- ORDER: ::Integer
122
-
123
- # @private
124
- DATATYPE: untyped
125
- end
126
-
127
- class Domain < Attribute
128
- TYPE: ::Integer
129
-
130
- NAME: ::Symbol
131
-
132
- # @private
133
- ORDER: ::Integer
134
-
135
- # @private
136
- DATATYPE: untyped
137
- end
138
-
139
- class Negative < Attribute
140
- TYPE: ::Integer
141
-
142
- NAME: ::Symbol
143
-
144
- # @private
145
- ORDER: ::Integer
146
-
147
- # @private
148
- DATATYPE: untyped
57
+ module Definitions
58
+ # @rbs return: ::Integer
59
+ # @return [Integer]
60
+ def seqno: () -> ::Integer
61
+
62
+ # @rbs return: ::String
63
+ # @return [String]
64
+ def class: () -> ::String
65
+
66
+ # @rbs return: ::String
67
+ # @return [String]
68
+ def addr: () -> ::String
69
+
70
+ # @rbs return: ::String
71
+ # @return [String]
72
+ def domain: () -> ::String
73
+
74
+ # @rbs return: ::Integer
75
+ # @return [Integer]
76
+ def negative: () -> ::Integer
77
+
78
+ # @rbs return: ::Integer
79
+ # @return [Integer]
80
+ def expiry: () -> ::Integer
149
81
  end
150
82
 
151
- class Expiry < Attribute
152
- TYPE: ::Integer
153
-
154
- NAME: ::Symbol
155
-
156
- # @private
157
- ORDER: ::Integer
158
-
159
- # @private
160
- DATATYPE: untyped
161
- end
83
+ include Definitions
162
84
 
163
- # @private
164
- BY_NAME: Hash[::Symbol, Attribute]
165
-
166
- # @private
167
- BY_TYPE: Hash[::Integer, Attribute]
168
-
169
- # @rbs return: ::Integer
170
- # @return [Integer]
171
- # @see Seqno
172
- def seqno: () -> ::Integer
173
-
174
- # @rbs return: ::String
175
- # @return [String]
176
- # @see Class
177
- def class: () -> ::String
178
-
179
- # @rbs return: ::String
180
- # @return [String]
181
- # @see Addr
182
- def addr: () -> ::String
183
-
184
- # @rbs return: ::String
185
- # @return [String]
186
- # @see Domain
187
- def domain: () -> ::String
188
-
189
- # @rbs return: ::Integer
190
- # @return [Integer]
191
- # @see Negative
192
- def negative: () -> ::Integer
193
-
194
- # @rbs return: ::Integer
195
- # @return [Integer]
196
- # @see Expiry
197
- def expiry: () -> ::Integer
198
-
199
- # Looks up Attribute class by name.
200
- # @rbs name: Symbol
201
- # @rbs return: Attribute
202
- # @param [Symbol] name
203
- # @return [Attribute]
204
- def self.by_name: (Symbol name) -> Attribute
205
-
206
- # Looks up Attribute class by type value.
207
- # @rbs type: Integer
208
- # @rbs return: Attribute
209
- # @param [Integer] type
210
- # @return [Attribute]
211
- def self.by_type: (Integer type) -> Attribute
85
+ # Decodes attributes from the decoder into a new attribute set.
86
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
87
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
212
88
  end
213
89
 
214
90
  class IpMapReqs < ::Nl::AttributeSet
215
- # Abstract class
216
- class Attribute < ::Nl::AttributeSet::Attribute
91
+ module Definitions
92
+ # @rbs return: ::Array[AttributeSets::IpMap]
93
+ # @return [Array<AttributeSets::IpMap>]
94
+ def requests: () -> ::Array[AttributeSets::IpMap]
217
95
  end
218
96
 
219
- class Requests < Attribute
220
- TYPE: ::Integer
97
+ include Definitions
221
98
 
222
- NAME: ::Symbol
223
-
224
- # @private
225
- MULTI: bool
99
+ # Decodes attributes from the decoder into a new attribute set.
100
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
101
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
102
+ end
226
103
 
227
- # @private
228
- ORDER: ::Integer
104
+ class UnixGid < ::Nl::AttributeSet
105
+ module Definitions
106
+ # @rbs return: ::Integer
107
+ # @return [Integer]
108
+ def seqno: () -> ::Integer
109
+
110
+ # @rbs return: ::Integer
111
+ # @return [Integer]
112
+ def uid: () -> ::Integer
113
+
114
+ # @rbs return: ::Array[::Integer]
115
+ # @return [Array<Integer>]
116
+ def gids: () -> ::Array[::Integer]
117
+
118
+ # @rbs return: ::Integer
119
+ # @return [Integer]
120
+ def negative: () -> ::Integer
121
+
122
+ # @rbs return: ::Integer
123
+ # @return [Integer]
124
+ def expiry: () -> ::Integer
229
125
  end
230
126
 
231
- # @private
232
- BY_NAME: Hash[::Symbol, Attribute]
127
+ include Definitions
233
128
 
234
- # @private
235
- BY_TYPE: Hash[::Integer, Attribute]
236
-
237
- # @rbs return: ::Array[AttributeSets::IpMap]
238
- # @return [Array<AttributeSets::IpMap>]
239
- # @see Requests
240
- def requests: () -> ::Array[AttributeSets::IpMap]
241
-
242
- # Looks up Attribute class by name.
243
- # @rbs name: Symbol
244
- # @rbs return: Attribute
245
- # @param [Symbol] name
246
- # @return [Attribute]
247
- def self.by_name: (Symbol name) -> Attribute
248
-
249
- # Looks up Attribute class by type value.
250
- # @rbs type: Integer
251
- # @rbs return: Attribute
252
- # @param [Integer] type
253
- # @return [Attribute]
254
- def self.by_type: (Integer type) -> Attribute
129
+ # Decodes attributes from the decoder into a new attribute set.
130
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
131
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
255
132
  end
256
133
 
257
- class UnixGid < ::Nl::AttributeSet
258
- # Abstract class
259
- class Attribute < ::Nl::AttributeSet::Attribute
134
+ class UnixGidReqs < ::Nl::AttributeSet
135
+ module Definitions
136
+ # @rbs return: ::Array[AttributeSets::UnixGid]
137
+ # @return [Array<AttributeSets::UnixGid>]
138
+ def requests: () -> ::Array[AttributeSets::UnixGid]
260
139
  end
261
140
 
262
- class Seqno < Attribute
263
- TYPE: ::Integer
264
-
265
- NAME: ::Symbol
141
+ include Definitions
266
142
 
267
- # @private
268
- ORDER: ::Integer
143
+ # Decodes attributes from the decoder into a new attribute set.
144
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
145
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
146
+ end
269
147
 
270
- # @private
271
- DATATYPE: untyped
148
+ class CacheFlush < ::Nl::AttributeSet
149
+ module Definitions
150
+ # Known flags are defined in {Flags::CacheType}.
151
+ # @rbs return: ::Integer
152
+ # @return [Integer]
153
+ def mask: () -> ::Integer
272
154
  end
273
155
 
274
- class Uid < Attribute
275
- TYPE: ::Integer
156
+ include Definitions
276
157
 
277
- NAME: ::Symbol
158
+ # Decodes attributes from the decoder into a new attribute set.
159
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
160
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
161
+ end
162
+ end
278
163
 
164
+ module AttributeSets
165
+ class CacheNotify
166
+ module Definitions
279
167
  # @private
280
- ORDER: ::Integer
168
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
281
169
 
282
170
  # @private
283
- DATATYPE: untyped
171
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
284
172
  end
173
+ end
285
174
 
286
- class Gids < Attribute
287
- TYPE: ::Integer
288
-
289
- NAME: ::Symbol
290
-
291
- # @private
292
- MULTI: bool
293
-
175
+ class IpMap
176
+ module Definitions
294
177
  # @private
295
- ORDER: ::Integer
178
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
296
179
 
297
180
  # @private
298
- DATATYPE: untyped
181
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
299
182
  end
183
+ end
300
184
 
301
- class Negative < Attribute
302
- TYPE: ::Integer
303
-
304
- NAME: ::Symbol
305
-
185
+ class IpMapReqs
186
+ module Definitions
306
187
  # @private
307
- ORDER: ::Integer
188
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
308
189
 
309
190
  # @private
310
- DATATYPE: untyped
191
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
311
192
  end
193
+ end
312
194
 
313
- class Expiry < Attribute
314
- TYPE: ::Integer
315
-
316
- NAME: ::Symbol
317
-
195
+ class UnixGid
196
+ module Definitions
318
197
  # @private
319
- ORDER: ::Integer
198
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
320
199
 
321
200
  # @private
322
- DATATYPE: untyped
201
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
323
202
  end
324
-
325
- # @private
326
- BY_NAME: Hash[::Symbol, Attribute]
327
-
328
- # @private
329
- BY_TYPE: Hash[::Integer, Attribute]
330
-
331
- # @rbs return: ::Integer
332
- # @return [Integer]
333
- # @see Seqno
334
- def seqno: () -> ::Integer
335
-
336
- # @rbs return: ::Integer
337
- # @return [Integer]
338
- # @see Uid
339
- def uid: () -> ::Integer
340
-
341
- # @rbs return: ::Array[::Integer]
342
- # @return [Array<Integer>]
343
- # @see Gids
344
- def gids: () -> ::Array[::Integer]
345
-
346
- # @rbs return: ::Integer
347
- # @return [Integer]
348
- # @see Negative
349
- def negative: () -> ::Integer
350
-
351
- # @rbs return: ::Integer
352
- # @return [Integer]
353
- # @see Expiry
354
- def expiry: () -> ::Integer
355
-
356
- # Looks up Attribute class by name.
357
- # @rbs name: Symbol
358
- # @rbs return: Attribute
359
- # @param [Symbol] name
360
- # @return [Attribute]
361
- def self.by_name: (Symbol name) -> Attribute
362
-
363
- # Looks up Attribute class by type value.
364
- # @rbs type: Integer
365
- # @rbs return: Attribute
366
- # @param [Integer] type
367
- # @return [Attribute]
368
- def self.by_type: (Integer type) -> Attribute
369
203
  end
370
204
 
371
- class UnixGidReqs < ::Nl::AttributeSet
372
- # Abstract class
373
- class Attribute < ::Nl::AttributeSet::Attribute
374
- end
375
-
376
- class Requests < Attribute
377
- TYPE: ::Integer
378
-
379
- NAME: ::Symbol
380
-
205
+ class UnixGidReqs
206
+ module Definitions
381
207
  # @private
382
- MULTI: bool
208
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
383
209
 
384
210
  # @private
385
- ORDER: ::Integer
211
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
386
212
  end
387
-
388
- # @private
389
- BY_NAME: Hash[::Symbol, Attribute]
390
-
391
- # @private
392
- BY_TYPE: Hash[::Integer, Attribute]
393
-
394
- # @rbs return: ::Array[AttributeSets::UnixGid]
395
- # @return [Array<AttributeSets::UnixGid>]
396
- # @see Requests
397
- def requests: () -> ::Array[AttributeSets::UnixGid]
398
-
399
- # Looks up Attribute class by name.
400
- # @rbs name: Symbol
401
- # @rbs return: Attribute
402
- # @param [Symbol] name
403
- # @return [Attribute]
404
- def self.by_name: (Symbol name) -> Attribute
405
-
406
- # Looks up Attribute class by type value.
407
- # @rbs type: Integer
408
- # @rbs return: Attribute
409
- # @param [Integer] type
410
- # @return [Attribute]
411
- def self.by_type: (Integer type) -> Attribute
412
213
  end
413
214
 
414
- class CacheFlush < ::Nl::AttributeSet
415
- # Abstract class
416
- class Attribute < ::Nl::AttributeSet::Attribute
417
- end
418
-
419
- # Known flags are defined in {Flags::CacheType}.
420
- class Mask < Attribute
421
- TYPE: ::Integer
422
-
423
- NAME: ::Symbol
424
-
215
+ class CacheFlush
216
+ module Definitions
425
217
  # @private
426
- ORDER: ::Integer
218
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
427
219
 
428
220
  # @private
429
- DATATYPE: untyped
221
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
430
222
  end
431
-
432
- # @private
433
- BY_NAME: Hash[::Symbol, Attribute]
434
-
435
- # @private
436
- BY_TYPE: Hash[::Integer, Attribute]
437
-
438
- # Known flags are defined in {Flags::CacheType}.
439
- # @rbs return: ::Integer
440
- # @return [Integer]
441
- # @see Mask
442
- def mask: () -> ::Integer
443
-
444
- # Looks up Attribute class by name.
445
- # @rbs name: Symbol
446
- # @rbs return: Attribute
447
- # @param [Symbol] name
448
- # @return [Attribute]
449
- def self.by_name: (Symbol name) -> Attribute
450
-
451
- # Looks up Attribute class by type value.
452
- # @rbs type: Integer
453
- # @rbs return: Attribute
454
- # @param [Integer] type
455
- # @return [Attribute]
456
- def self.by_type: (Integer type) -> Attribute
457
223
  end
458
224
  end
459
225
 
@@ -461,7 +227,7 @@ module Nl
461
227
  # Dump all pending ip_map requests
462
228
  #
463
229
  # Requires CAP_NET_ADMIN in the initial user namespace.
464
- class DumpIpMapGetReqsRequest < ::Nl::Genl::Message
230
+ class DumpIpMapGetReqsRequest < ::Nl::Message
465
231
  TYPE: ::Integer
466
232
 
467
233
  FIXED_HEADER: untyped
@@ -469,12 +235,25 @@ module Nl
469
235
  ATTRIBUTE_SET: untyped
470
236
 
471
237
  ATTRIBUTES: untyped
238
+
239
+ include ATTRIBUTE_SET::Definitions
240
+
241
+ def initialize: (?untyped attributes) -> untyped
242
+
243
+ # @private
244
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
245
+
246
+ # Decodes a message payload from the decoder into a new instance.
247
+ # @rbs (::Nl::Decoder decoder) -> instance
248
+ def self.decode: (::Nl::Decoder decoder) -> instance
249
+
250
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
472
251
  end
473
252
 
474
253
  # Dump all pending ip_map requests
475
254
  #
476
255
  # Requires CAP_NET_ADMIN in the initial user namespace.
477
- class DumpIpMapGetReqsReply < ::Nl::Genl::Message
256
+ class DumpIpMapGetReqsReply < ::Nl::Message
478
257
  TYPE: ::Integer
479
258
 
480
259
  FIXED_HEADER: untyped
@@ -483,16 +262,28 @@ module Nl
483
262
 
484
263
  ATTRIBUTES: untyped
485
264
 
265
+ include ATTRIBUTE_SET::Definitions
266
+
267
+ def initialize: (?untyped attributes) -> untyped
268
+
269
+ # @private
270
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
271
+
272
+ # Decodes a message payload from the decoder into a new instance.
273
+ # @rbs (::Nl::Decoder decoder) -> instance
274
+ def self.decode: (::Nl::Decoder decoder) -> instance
275
+
276
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
277
+
486
278
  # @rbs return: ::Array[AttributeSets::IpMap]
487
279
  # @return [Array<AttributeSets::IpMap>]
488
- # @see AttributeSets::IpMapReqs::Requests
489
280
  def requests: () -> ::Array[AttributeSets::IpMap]
490
281
  end
491
282
 
492
283
  # Respond to one or more ip_map requests
493
284
  #
494
285
  # Requires CAP_NET_ADMIN in the initial user namespace.
495
- class DoIpMapSetReqsRequest < ::Nl::Genl::Message
286
+ class DoIpMapSetReqsRequest < ::Nl::Message
496
287
  TYPE: ::Integer
497
288
 
498
289
  FIXED_HEADER: untyped
@@ -501,16 +292,28 @@ module Nl
501
292
 
502
293
  ATTRIBUTES: untyped
503
294
 
295
+ include ATTRIBUTE_SET::Definitions
296
+
297
+ def initialize: (?untyped attributes) -> untyped
298
+
299
+ # @private
300
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
301
+
302
+ # Decodes a message payload from the decoder into a new instance.
303
+ # @rbs (::Nl::Decoder decoder) -> instance
304
+ def self.decode: (::Nl::Decoder decoder) -> instance
305
+
306
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
307
+
504
308
  # @rbs return: ::Array[AttributeSets::IpMap]
505
309
  # @return [Array<AttributeSets::IpMap>]
506
- # @see AttributeSets::IpMapReqs::Requests
507
310
  def requests: () -> ::Array[AttributeSets::IpMap]
508
311
  end
509
312
 
510
313
  # Dump all pending unix_gid requests
511
314
  #
512
315
  # Requires CAP_NET_ADMIN in the initial user namespace.
513
- class DumpUnixGidGetReqsRequest < ::Nl::Genl::Message
316
+ class DumpUnixGidGetReqsRequest < ::Nl::Message
514
317
  TYPE: ::Integer
515
318
 
516
319
  FIXED_HEADER: untyped
@@ -518,12 +321,25 @@ module Nl
518
321
  ATTRIBUTE_SET: untyped
519
322
 
520
323
  ATTRIBUTES: untyped
324
+
325
+ include ATTRIBUTE_SET::Definitions
326
+
327
+ def initialize: (?untyped attributes) -> untyped
328
+
329
+ # @private
330
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
331
+
332
+ # Decodes a message payload from the decoder into a new instance.
333
+ # @rbs (::Nl::Decoder decoder) -> instance
334
+ def self.decode: (::Nl::Decoder decoder) -> instance
335
+
336
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
521
337
  end
522
338
 
523
339
  # Dump all pending unix_gid requests
524
340
  #
525
341
  # Requires CAP_NET_ADMIN in the initial user namespace.
526
- class DumpUnixGidGetReqsReply < ::Nl::Genl::Message
342
+ class DumpUnixGidGetReqsReply < ::Nl::Message
527
343
  TYPE: ::Integer
528
344
 
529
345
  FIXED_HEADER: untyped
@@ -532,16 +348,28 @@ module Nl
532
348
 
533
349
  ATTRIBUTES: untyped
534
350
 
351
+ include ATTRIBUTE_SET::Definitions
352
+
353
+ def initialize: (?untyped attributes) -> untyped
354
+
355
+ # @private
356
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
357
+
358
+ # Decodes a message payload from the decoder into a new instance.
359
+ # @rbs (::Nl::Decoder decoder) -> instance
360
+ def self.decode: (::Nl::Decoder decoder) -> instance
361
+
362
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
363
+
535
364
  # @rbs return: ::Array[AttributeSets::UnixGid]
536
365
  # @return [Array<AttributeSets::UnixGid>]
537
- # @see AttributeSets::UnixGidReqs::Requests
538
366
  def requests: () -> ::Array[AttributeSets::UnixGid]
539
367
  end
540
368
 
541
369
  # Respond to one or more unix_gid requests
542
370
  #
543
371
  # Requires CAP_NET_ADMIN in the initial user namespace.
544
- class DoUnixGidSetReqsRequest < ::Nl::Genl::Message
372
+ class DoUnixGidSetReqsRequest < ::Nl::Message
545
373
  TYPE: ::Integer
546
374
 
547
375
  FIXED_HEADER: untyped
@@ -550,16 +378,28 @@ module Nl
550
378
 
551
379
  ATTRIBUTES: untyped
552
380
 
381
+ include ATTRIBUTE_SET::Definitions
382
+
383
+ def initialize: (?untyped attributes) -> untyped
384
+
385
+ # @private
386
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
387
+
388
+ # Decodes a message payload from the decoder into a new instance.
389
+ # @rbs (::Nl::Decoder decoder) -> instance
390
+ def self.decode: (::Nl::Decoder decoder) -> instance
391
+
392
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
393
+
553
394
  # @rbs return: ::Array[AttributeSets::UnixGid]
554
395
  # @return [Array<AttributeSets::UnixGid>]
555
- # @see AttributeSets::UnixGidReqs::Requests
556
396
  def requests: () -> ::Array[AttributeSets::UnixGid]
557
397
  end
558
398
 
559
399
  # Flush sunrpc caches (ip_map and/or unix_gid)
560
400
  #
561
401
  # Requires CAP_NET_ADMIN in the initial user namespace.
562
- class DoCacheFlushRequest < ::Nl::Genl::Message
402
+ class DoCacheFlushRequest < ::Nl::Message
563
403
  TYPE: ::Integer
564
404
 
565
405
  FIXED_HEADER: untyped
@@ -568,10 +408,22 @@ module Nl
568
408
 
569
409
  ATTRIBUTES: untyped
570
410
 
411
+ include ATTRIBUTE_SET::Definitions
412
+
413
+ def initialize: (?untyped attributes) -> untyped
414
+
415
+ # @private
416
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
417
+
418
+ # Decodes a message payload from the decoder into a new instance.
419
+ # @rbs (::Nl::Decoder decoder) -> instance
420
+ def self.decode: (::Nl::Decoder decoder) -> instance
421
+
422
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
423
+
571
424
  # Known flags are defined in {Flags::CacheType}.
572
425
  # @rbs return: ::Integer
573
426
  # @return [Integer]
574
- # @see AttributeSets::CacheFlush::Mask
575
427
  def mask: () -> ::Integer
576
428
  end
577
429
  end
@@ -580,7 +432,7 @@ module Nl
580
432
  # Notification that there are cache requests that need servicing
581
433
  #
582
434
  # Multicast group: `exportd`.
583
- class CacheNotify < ::Nl::Genl::Message
435
+ class CacheNotify < ::Nl::Message
584
436
  TYPE: ::Integer
585
437
 
586
438
  FIXED_HEADER: untyped
@@ -589,10 +441,22 @@ module Nl
589
441
 
590
442
  ATTRIBUTES: untyped
591
443
 
444
+ include ATTRIBUTE_SET::Definitions
445
+
446
+ def initialize: (?untyped attributes) -> untyped
447
+
448
+ # @private
449
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
450
+
451
+ # Decodes a message payload from the decoder into a new instance.
452
+ # @rbs (::Nl::Decoder decoder) -> instance
453
+ def self.decode: (::Nl::Decoder decoder) -> instance
454
+
455
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
456
+
592
457
  # Known flags are defined in {Flags::CacheType}.
593
458
  # @rbs return: ::Integer
594
459
  # @return [Integer]
595
- # @see AttributeSets::CacheNotify::CacheType
596
460
  def cache_type: () -> ::Integer
597
461
  end
598
462
  end