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
@@ -82,6 +82,10 @@ module Nl
82
82
  # @private
83
83
  MEMBERS: Hash[::Symbol, ::Nl::_DataType]
84
84
 
85
+ # @private
86
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
87
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
88
+
85
89
  # Decodes the struct.
86
90
  # @rbs decoder: ::Nl::Decoder
87
91
  # @rbs return: instance
@@ -122,6 +126,10 @@ module Nl
122
126
  # @private
123
127
  MEMBERS: Hash[::Symbol, ::Nl::_DataType]
124
128
 
129
+ # @private
130
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
131
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
132
+
125
133
  # Decodes the struct.
126
134
  # @rbs decoder: ::Nl::Decoder
127
135
  # @rbs return: instance
@@ -140,224 +148,80 @@ module Nl
140
148
 
141
149
  module AttributeSets
142
150
  class AddrAttrs < ::Nl::AttributeSet
143
- # Abstract class
144
- class Attribute < ::Nl::AttributeSet::Attribute
145
- end
146
-
147
- class Address < Attribute
148
- TYPE: ::Integer
149
-
150
- NAME: ::Symbol
151
-
152
- # @private
153
- ORDER: ::Integer
154
-
155
- # @private
156
- DATATYPE: untyped
157
- end
158
-
159
- class Local < Attribute
160
- TYPE: ::Integer
161
-
162
- NAME: ::Symbol
163
-
164
- # @private
165
- ORDER: ::Integer
166
-
167
- # @private
168
- DATATYPE: untyped
169
- end
170
-
171
- class Label < Attribute
172
- TYPE: ::Integer
173
-
174
- NAME: ::Symbol
175
-
176
- # @private
177
- ORDER: ::Integer
178
-
179
- # @private
180
- DATATYPE: untyped
181
- end
182
-
183
- class Broadcast < Attribute
184
- TYPE: ::Integer
185
-
186
- NAME: ::Symbol
187
-
188
- # @private
189
- ORDER: ::Integer
190
-
191
- # @private
192
- DATATYPE: untyped
193
- end
194
-
195
- class Anycast < Attribute
196
- TYPE: ::Integer
197
-
198
- NAME: ::Symbol
199
-
200
- # @private
201
- ORDER: ::Integer
202
-
203
- # @private
204
- DATATYPE: untyped
205
- end
206
-
207
- class Cacheinfo < Attribute
208
- TYPE: ::Integer
209
-
210
- NAME: ::Symbol
211
-
212
- # @private
213
- ORDER: ::Integer
214
-
215
- # @private
216
- DATATYPE: untyped
151
+ module Definitions
152
+ # @rbs return: ::String
153
+ # @return [String]
154
+ def address: () -> ::String
155
+
156
+ # @rbs return: ::String
157
+ # @return [String]
158
+ def local: () -> ::String
159
+
160
+ # @rbs return: ::String
161
+ # @return [String]
162
+ def label: () -> ::String
163
+
164
+ # @rbs return: ::Integer
165
+ # @return [Integer]
166
+ def broadcast: () -> ::Integer
167
+
168
+ # @rbs return: ::String
169
+ # @return [String]
170
+ def anycast: () -> ::String
171
+
172
+ # @rbs return: Structs::IfaCacheinfo
173
+ # @return [Structs::IfaCacheinfo]
174
+ def cacheinfo: () -> Structs::IfaCacheinfo
175
+
176
+ # @rbs return: ::String
177
+ # @return [String]
178
+ def multicast: () -> ::String
179
+
180
+ # Known flags are defined in {Flags::IfaFlags}.
181
+ # @rbs return: ::Integer
182
+ # @return [Integer]
183
+ def flags: () -> ::Integer
184
+
185
+ # @rbs return: ::Integer
186
+ # @return [Integer]
187
+ def rt_priority: () -> ::Integer
188
+
189
+ # @rbs return: ::String
190
+ # @return [String]
191
+ def target_netnsid: () -> ::String
192
+
193
+ # @rbs return: ::Integer
194
+ # @return [Integer]
195
+ def proto: () -> ::Integer
196
+
197
+ # @rbs return: ::Integer
198
+ # @return [Integer]
199
+ def mc_users: () -> ::Integer
217
200
  end
218
201
 
219
- class Multicast < Attribute
220
- TYPE: ::Integer
202
+ include Definitions
221
203
 
222
- NAME: ::Symbol
223
-
224
- # @private
225
- ORDER: ::Integer
226
-
227
- # @private
228
- DATATYPE: untyped
229
- end
230
-
231
- # Known flags are defined in {Flags::IfaFlags}.
232
- class Flags < Attribute
233
- TYPE: ::Integer
234
-
235
- NAME: ::Symbol
236
-
237
- # @private
238
- ORDER: ::Integer
239
-
240
- # @private
241
- DATATYPE: untyped
242
- end
243
-
244
- class RtPriority < Attribute
245
- TYPE: ::Integer
246
-
247
- NAME: ::Symbol
248
-
249
- # @private
250
- ORDER: ::Integer
251
-
252
- # @private
253
- DATATYPE: untyped
254
- end
255
-
256
- class TargetNetnsid < Attribute
257
- TYPE: ::Integer
258
-
259
- NAME: ::Symbol
260
-
261
- # @private
262
- ORDER: ::Integer
263
-
264
- # @private
265
- DATATYPE: untyped
266
- end
267
-
268
- class Proto < Attribute
269
- TYPE: ::Integer
270
-
271
- NAME: ::Symbol
204
+ # Decodes attributes from the decoder into a new attribute set.
205
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
206
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
207
+ end
208
+ end
272
209
 
210
+ module AttributeSets
211
+ class AddrAttrs
212
+ module Definitions
273
213
  # @private
274
- ORDER: ::Integer
214
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
275
215
 
276
216
  # @private
277
- DATATYPE: untyped
217
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
278
218
  end
279
-
280
- # @private
281
- BY_NAME: Hash[::Symbol, Attribute]
282
-
283
- # @private
284
- BY_TYPE: Hash[::Integer, Attribute]
285
-
286
- # @rbs return: ::String
287
- # @return [String]
288
- # @see Address
289
- def address: () -> ::String
290
-
291
- # @rbs return: ::String
292
- # @return [String]
293
- # @see Local
294
- def local: () -> ::String
295
-
296
- # @rbs return: ::String
297
- # @return [String]
298
- # @see Label
299
- def label: () -> ::String
300
-
301
- # @rbs return: ::Integer
302
- # @return [Integer]
303
- # @see Broadcast
304
- def broadcast: () -> ::Integer
305
-
306
- # @rbs return: ::String
307
- # @return [String]
308
- # @see Anycast
309
- def anycast: () -> ::String
310
-
311
- # @rbs return: Structs::IfaCacheinfo
312
- # @return [Structs::IfaCacheinfo]
313
- # @see Cacheinfo
314
- def cacheinfo: () -> Structs::IfaCacheinfo
315
-
316
- # @rbs return: ::String
317
- # @return [String]
318
- # @see Multicast
319
- def multicast: () -> ::String
320
-
321
- # Known flags are defined in {Flags::IfaFlags}.
322
- # @rbs return: ::Integer
323
- # @return [Integer]
324
- # @see Flags
325
- def flags: () -> ::Integer
326
-
327
- # @rbs return: ::Integer
328
- # @return [Integer]
329
- # @see RtPriority
330
- def rt_priority: () -> ::Integer
331
-
332
- # @rbs return: ::String
333
- # @return [String]
334
- # @see TargetNetnsid
335
- def target_netnsid: () -> ::String
336
-
337
- # @rbs return: ::Integer
338
- # @return [Integer]
339
- # @see Proto
340
- def proto: () -> ::Integer
341
-
342
- # Looks up Attribute class by name.
343
- # @rbs name: Symbol
344
- # @rbs return: Attribute
345
- # @param [Symbol] name
346
- # @return [Attribute]
347
- def self.by_name: (Symbol name) -> Attribute
348
-
349
- # Looks up Attribute class by type value.
350
- # @rbs type: Integer
351
- # @rbs return: Attribute
352
- # @param [Integer] type
353
- # @return [Attribute]
354
- def self.by_type: (Integer type) -> Attribute
355
219
  end
356
220
  end
357
221
 
358
222
  module Messages
359
223
  # Add new address
360
- class DoNewaddrRequest < ::Nl::Raw::Message
224
+ class DoNewaddrRequest < ::Nl::Message
361
225
  TYPE: ::Integer
362
226
 
363
227
  FIXED_HEADER: untyped
@@ -366,6 +230,19 @@ module Nl
366
230
 
367
231
  ATTRIBUTES: untyped
368
232
 
233
+ include ATTRIBUTE_SET::Definitions
234
+
235
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
236
+
237
+ # @private
238
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
239
+
240
+ # Decodes a message payload from the decoder into a new instance.
241
+ # @rbs (::Nl::Decoder decoder) -> instance
242
+ def self.decode: (::Nl::Decoder decoder) -> instance
243
+
244
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
245
+
369
246
  # @rbs return: ::Integer
370
247
  # @return [Integer]
371
248
  def ifa_family: () -> ::Integer
@@ -388,27 +265,23 @@ module Nl
388
265
 
389
266
  # @rbs return: ::String
390
267
  # @return [String]
391
- # @see AttributeSets::AddrAttrs::Address
392
268
  def address: () -> ::String
393
269
 
394
270
  # @rbs return: ::String
395
271
  # @return [String]
396
- # @see AttributeSets::AddrAttrs::Local
397
272
  def local: () -> ::String
398
273
 
399
274
  # @rbs return: ::String
400
275
  # @return [String]
401
- # @see AttributeSets::AddrAttrs::Label
402
276
  def label: () -> ::String
403
277
 
404
278
  # @rbs return: Structs::IfaCacheinfo
405
279
  # @return [Structs::IfaCacheinfo]
406
- # @see AttributeSets::AddrAttrs::Cacheinfo
407
280
  def cacheinfo: () -> Structs::IfaCacheinfo
408
281
  end
409
282
 
410
283
  # Remove address
411
- class DoDeladdrRequest < ::Nl::Raw::Message
284
+ class DoDeladdrRequest < ::Nl::Message
412
285
  TYPE: ::Integer
413
286
 
414
287
  FIXED_HEADER: untyped
@@ -417,6 +290,19 @@ module Nl
417
290
 
418
291
  ATTRIBUTES: untyped
419
292
 
293
+ include ATTRIBUTE_SET::Definitions
294
+
295
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
296
+
297
+ # @private
298
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
299
+
300
+ # Decodes a message payload from the decoder into a new instance.
301
+ # @rbs (::Nl::Decoder decoder) -> instance
302
+ def self.decode: (::Nl::Decoder decoder) -> instance
303
+
304
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
305
+
420
306
  # @rbs return: ::Integer
421
307
  # @return [Integer]
422
308
  def ifa_family: () -> ::Integer
@@ -439,17 +325,15 @@ module Nl
439
325
 
440
326
  # @rbs return: ::String
441
327
  # @return [String]
442
- # @see AttributeSets::AddrAttrs::Address
443
328
  def address: () -> ::String
444
329
 
445
330
  # @rbs return: ::String
446
331
  # @return [String]
447
- # @see AttributeSets::AddrAttrs::Local
448
332
  def local: () -> ::String
449
333
  end
450
334
 
451
335
  # Dump address information.
452
- class DumpGetaddrRequest < ::Nl::Raw::Message
336
+ class DumpGetaddrRequest < ::Nl::Message
453
337
  TYPE: ::Integer
454
338
 
455
339
  FIXED_HEADER: untyped
@@ -458,6 +342,19 @@ module Nl
458
342
 
459
343
  ATTRIBUTES: untyped
460
344
 
345
+ include ATTRIBUTE_SET::Definitions
346
+
347
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
348
+
349
+ # @private
350
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
351
+
352
+ # Decodes a message payload from the decoder into a new instance.
353
+ # @rbs (::Nl::Decoder decoder) -> instance
354
+ def self.decode: (::Nl::Decoder decoder) -> instance
355
+
356
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
357
+
461
358
  # @rbs return: ::Integer
462
359
  # @return [Integer]
463
360
  def ifa_family: () -> ::Integer
@@ -480,7 +377,7 @@ module Nl
480
377
  end
481
378
 
482
379
  # Dump address information.
483
- class DumpGetaddrReply < ::Nl::Raw::Message
380
+ class DumpGetaddrReply < ::Nl::Message
484
381
  TYPE: ::Integer
485
382
 
486
383
  FIXED_HEADER: untyped
@@ -489,6 +386,19 @@ module Nl
489
386
 
490
387
  ATTRIBUTES: untyped
491
388
 
389
+ include ATTRIBUTE_SET::Definitions
390
+
391
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
392
+
393
+ # @private
394
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
395
+
396
+ # Decodes a message payload from the decoder into a new instance.
397
+ # @rbs (::Nl::Decoder decoder) -> instance
398
+ def self.decode: (::Nl::Decoder decoder) -> instance
399
+
400
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
401
+
492
402
  # @rbs return: ::Integer
493
403
  # @return [Integer]
494
404
  def ifa_family: () -> ::Integer
@@ -511,27 +421,23 @@ module Nl
511
421
 
512
422
  # @rbs return: ::String
513
423
  # @return [String]
514
- # @see AttributeSets::AddrAttrs::Address
515
424
  def address: () -> ::String
516
425
 
517
426
  # @rbs return: ::String
518
427
  # @return [String]
519
- # @see AttributeSets::AddrAttrs::Local
520
428
  def local: () -> ::String
521
429
 
522
430
  # @rbs return: ::String
523
431
  # @return [String]
524
- # @see AttributeSets::AddrAttrs::Label
525
432
  def label: () -> ::String
526
433
 
527
434
  # @rbs return: Structs::IfaCacheinfo
528
435
  # @return [Structs::IfaCacheinfo]
529
- # @see AttributeSets::AddrAttrs::Cacheinfo
530
436
  def cacheinfo: () -> Structs::IfaCacheinfo
531
437
  end
532
438
 
533
439
  # Get / dump IPv4/IPv6 multicast addresses.
534
- class DoGetmulticastRequest < ::Nl::Raw::Message
440
+ class DoGetmulticastRequest < ::Nl::Message
535
441
  TYPE: ::Integer
536
442
 
537
443
  FIXED_HEADER: untyped
@@ -540,6 +446,19 @@ module Nl
540
446
 
541
447
  ATTRIBUTES: untyped
542
448
 
449
+ include ATTRIBUTE_SET::Definitions
450
+
451
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
452
+
453
+ # @private
454
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
455
+
456
+ # Decodes a message payload from the decoder into a new instance.
457
+ # @rbs (::Nl::Decoder decoder) -> instance
458
+ def self.decode: (::Nl::Decoder decoder) -> instance
459
+
460
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
461
+
543
462
  # @rbs return: ::Integer
544
463
  # @return [Integer]
545
464
  def ifa_family: () -> ::Integer
@@ -562,7 +481,7 @@ module Nl
562
481
  end
563
482
 
564
483
  # Get / dump IPv4/IPv6 multicast addresses.
565
- class DoGetmulticastReply < ::Nl::Raw::Message
484
+ class DoGetmulticastReply < ::Nl::Message
566
485
  TYPE: ::Integer
567
486
 
568
487
  FIXED_HEADER: untyped
@@ -571,6 +490,19 @@ module Nl
571
490
 
572
491
  ATTRIBUTES: untyped
573
492
 
493
+ include ATTRIBUTE_SET::Definitions
494
+
495
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
496
+
497
+ # @private
498
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
499
+
500
+ # Decodes a message payload from the decoder into a new instance.
501
+ # @rbs (::Nl::Decoder decoder) -> instance
502
+ def self.decode: (::Nl::Decoder decoder) -> instance
503
+
504
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
505
+
574
506
  # @rbs return: ::Integer
575
507
  # @return [Integer]
576
508
  def ifa_family: () -> ::Integer
@@ -593,17 +525,19 @@ module Nl
593
525
 
594
526
  # @rbs return: Structs::IfaCacheinfo
595
527
  # @return [Structs::IfaCacheinfo]
596
- # @see AttributeSets::AddrAttrs::Cacheinfo
597
528
  def cacheinfo: () -> Structs::IfaCacheinfo
598
529
 
599
530
  # @rbs return: ::String
600
531
  # @return [String]
601
- # @see AttributeSets::AddrAttrs::Multicast
602
532
  def multicast: () -> ::String
533
+
534
+ # @rbs return: ::Integer
535
+ # @return [Integer]
536
+ def mc_users: () -> ::Integer
603
537
  end
604
538
 
605
539
  # Get / dump IPv4/IPv6 multicast addresses.
606
- class DumpGetmulticastRequest < ::Nl::Raw::Message
540
+ class DumpGetmulticastRequest < ::Nl::Message
607
541
  TYPE: ::Integer
608
542
 
609
543
  FIXED_HEADER: untyped
@@ -612,6 +546,19 @@ module Nl
612
546
 
613
547
  ATTRIBUTES: untyped
614
548
 
549
+ include ATTRIBUTE_SET::Definitions
550
+
551
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
552
+
553
+ # @private
554
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
555
+
556
+ # Decodes a message payload from the decoder into a new instance.
557
+ # @rbs (::Nl::Decoder decoder) -> instance
558
+ def self.decode: (::Nl::Decoder decoder) -> instance
559
+
560
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
561
+
615
562
  # @rbs return: ::Integer
616
563
  # @return [Integer]
617
564
  def ifa_family: () -> ::Integer
@@ -634,7 +581,7 @@ module Nl
634
581
  end
635
582
 
636
583
  # Get / dump IPv4/IPv6 multicast addresses.
637
- class DumpGetmulticastReply < ::Nl::Raw::Message
584
+ class DumpGetmulticastReply < ::Nl::Message
638
585
  TYPE: ::Integer
639
586
 
640
587
  FIXED_HEADER: untyped
@@ -643,6 +590,19 @@ module Nl
643
590
 
644
591
  ATTRIBUTES: untyped
645
592
 
593
+ include ATTRIBUTE_SET::Definitions
594
+
595
+ def initialize: (untyped ifa_family, untyped ifa_prefixlen, untyped ifa_flags, untyped ifa_scope, untyped ifa_index, ?untyped attributes) -> untyped
596
+
597
+ # @private
598
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
599
+
600
+ # Decodes a message payload from the decoder into a new instance.
601
+ # @rbs (::Nl::Decoder decoder) -> instance
602
+ def self.decode: (::Nl::Decoder decoder) -> instance
603
+
604
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
605
+
646
606
  # @rbs return: ::Integer
647
607
  # @return [Integer]
648
608
  def ifa_family: () -> ::Integer
@@ -665,13 +625,15 @@ module Nl
665
625
 
666
626
  # @rbs return: Structs::IfaCacheinfo
667
627
  # @return [Structs::IfaCacheinfo]
668
- # @see AttributeSets::AddrAttrs::Cacheinfo
669
628
  def cacheinfo: () -> Structs::IfaCacheinfo
670
629
 
671
630
  # @rbs return: ::String
672
631
  # @return [String]
673
- # @see AttributeSets::AddrAttrs::Multicast
674
632
  def multicast: () -> ::String
633
+
634
+ # @rbs return: ::Integer
635
+ # @return [Integer]
636
+ def mc_users: () -> ::Integer
675
637
  end
676
638
  end
677
639