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
@@ -51,437 +51,209 @@ module Nl
51
51
  # [TEAM_ATTR_PORT_*], ...
52
52
  # ...
53
53
  class Team < ::Nl::AttributeSet
54
- # Abstract class
55
- class Attribute < ::Nl::AttributeSet::Attribute
54
+ module Definitions
55
+ # @rbs return: ::Integer
56
+ # @return [Integer]
57
+ def team_ifindex: () -> ::Integer
58
+
59
+ # @rbs return: AttributeSets::ItemOption
60
+ # @return [AttributeSets::ItemOption]
61
+ def list_option: () -> AttributeSets::ItemOption
62
+
63
+ # @rbs return: AttributeSets::ItemPort
64
+ # @return [AttributeSets::ItemPort]
65
+ def list_port: () -> AttributeSets::ItemPort
56
66
  end
57
67
 
58
- class TeamIfindex < Attribute
59
- TYPE: ::Integer
68
+ include Definitions
60
69
 
61
- NAME: ::Symbol
62
-
63
- # @private
64
- ORDER: ::Integer
65
-
66
- # @private
67
- DATATYPE: untyped
68
- end
69
-
70
- class ListOption < Attribute
71
- TYPE: ::Integer
72
-
73
- NAME: ::Symbol
74
-
75
- # @private
76
- ORDER: ::Integer
77
- end
78
-
79
- class ListPort < Attribute
80
- TYPE: ::Integer
81
-
82
- NAME: ::Symbol
83
-
84
- # @private
85
- ORDER: ::Integer
86
- end
87
-
88
- # @private
89
- BY_NAME: Hash[::Symbol, Attribute]
90
-
91
- # @private
92
- BY_TYPE: Hash[::Integer, Attribute]
93
-
94
- # @rbs return: ::Integer
95
- # @return [Integer]
96
- # @see TeamIfindex
97
- def team_ifindex: () -> ::Integer
98
-
99
- # @rbs return: AttributeSets::ItemOption
100
- # @return [AttributeSets::ItemOption]
101
- # @see ListOption
102
- def list_option: () -> AttributeSets::ItemOption
103
-
104
- # @rbs return: AttributeSets::ItemPort
105
- # @return [AttributeSets::ItemPort]
106
- # @see ListPort
107
- def list_port: () -> AttributeSets::ItemPort
108
-
109
- # Looks up Attribute class by name.
110
- # @rbs name: Symbol
111
- # @rbs return: Attribute
112
- # @param [Symbol] name
113
- # @return [Attribute]
114
- def self.by_name: (Symbol name) -> Attribute
115
-
116
- # Looks up Attribute class by type value.
117
- # @rbs type: Integer
118
- # @rbs return: Attribute
119
- # @param [Integer] type
120
- # @return [Attribute]
121
- def self.by_type: (Integer type) -> Attribute
70
+ # Decodes attributes from the decoder into a new attribute set.
71
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
72
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
122
73
  end
123
74
 
124
75
  class ItemOption < ::Nl::AttributeSet
125
- # Abstract class
126
- class Attribute < ::Nl::AttributeSet::Attribute
76
+ module Definitions
77
+ # @rbs return: AttributeSets::AttrOption
78
+ # @return [AttributeSets::AttrOption]
79
+ def option: () -> AttributeSets::AttrOption
127
80
  end
128
81
 
129
- class Option < Attribute
130
- TYPE: ::Integer
131
-
132
- NAME: ::Symbol
82
+ include Definitions
133
83
 
134
- # @private
135
- ORDER: ::Integer
136
- end
137
-
138
- # @private
139
- BY_NAME: Hash[::Symbol, Attribute]
140
-
141
- # @private
142
- BY_TYPE: Hash[::Integer, Attribute]
143
-
144
- # @rbs return: AttributeSets::AttrOption
145
- # @return [AttributeSets::AttrOption]
146
- # @see Option
147
- def option: () -> AttributeSets::AttrOption
148
-
149
- # Looks up Attribute class by name.
150
- # @rbs name: Symbol
151
- # @rbs return: Attribute
152
- # @param [Symbol] name
153
- # @return [Attribute]
154
- def self.by_name: (Symbol name) -> Attribute
155
-
156
- # Looks up Attribute class by type value.
157
- # @rbs type: Integer
158
- # @rbs return: Attribute
159
- # @param [Integer] type
160
- # @return [Attribute]
161
- def self.by_type: (Integer type) -> Attribute
84
+ # Decodes attributes from the decoder into a new attribute set.
85
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
86
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
162
87
  end
163
88
 
164
89
  class AttrOption < ::Nl::AttributeSet
165
- # Abstract class
166
- class Attribute < ::Nl::AttributeSet::Attribute
167
- end
168
-
169
- class Name < Attribute
170
- TYPE: ::Integer
171
-
172
- NAME: ::Symbol
173
-
174
- # @private
175
- ORDER: ::Integer
176
-
177
- # @private
178
- DATATYPE: untyped
179
- end
180
-
181
- class Changed < Attribute
182
- TYPE: ::Integer
183
-
184
- NAME: ::Symbol
185
-
186
- # @private
187
- ORDER: ::Integer
188
-
189
- # @private
190
- DATATYPE: untyped
191
- end
192
-
193
- class Type < Attribute
194
- TYPE: ::Integer
195
-
196
- NAME: ::Symbol
197
-
198
- # @private
199
- ORDER: ::Integer
200
-
201
- # @private
202
- DATATYPE: untyped
203
- end
204
-
205
- class Data < Attribute
206
- TYPE: ::Integer
207
-
208
- NAME: ::Symbol
209
-
210
- # @private
211
- ORDER: ::Integer
212
-
213
- # @private
214
- DATATYPE: untyped
90
+ module Definitions
91
+ # @rbs return: ::String
92
+ # @return [String]
93
+ def name: () -> ::String
94
+
95
+ # @rbs return: ::Integer
96
+ # @return [Integer]
97
+ def changed: () -> ::Integer
98
+
99
+ # @rbs return: ::Integer
100
+ # @return [Integer]
101
+ def type: () -> ::Integer
102
+
103
+ # @rbs return: ::String
104
+ # @return [String]
105
+ def data: () -> ::String
106
+
107
+ # @rbs return: ::Integer
108
+ # @return [Integer]
109
+ def removed: () -> ::Integer
110
+
111
+ # for per-port options
112
+ # @rbs return: ::Integer
113
+ # @return [Integer]
114
+ def port_ifindex: () -> ::Integer
115
+
116
+ # for array options
117
+ # @rbs return: ::Integer
118
+ # @return [Integer]
119
+ def array_index: () -> ::Integer
215
120
  end
216
121
 
217
- class Removed < Attribute
218
- TYPE: ::Integer
219
-
220
- NAME: ::Symbol
221
-
222
- # @private
223
- ORDER: ::Integer
224
-
225
- # @private
226
- DATATYPE: untyped
227
- end
228
-
229
- # for per-port options
230
- class PortIfindex < Attribute
231
- TYPE: ::Integer
232
-
233
- NAME: ::Symbol
234
-
235
- # @private
236
- ORDER: ::Integer
237
-
238
- # @private
239
- DATATYPE: untyped
240
- end
241
-
242
- # for array options
243
- class ArrayIndex < Attribute
244
- TYPE: ::Integer
245
-
246
- NAME: ::Symbol
247
-
248
- # @private
249
- ORDER: ::Integer
250
-
251
- # @private
252
- DATATYPE: untyped
253
- end
254
-
255
- # @private
256
- BY_NAME: Hash[::Symbol, Attribute]
257
-
258
- # @private
259
- BY_TYPE: Hash[::Integer, Attribute]
260
-
261
- # @rbs return: ::String
262
- # @return [String]
263
- # @see Name
264
- def name: () -> ::String
265
-
266
- # @rbs return: ::Integer
267
- # @return [Integer]
268
- # @see Changed
269
- def changed: () -> ::Integer
270
-
271
- # @rbs return: ::Integer
272
- # @return [Integer]
273
- # @see Type
274
- def type: () -> ::Integer
275
-
276
- # @rbs return: ::String
277
- # @return [String]
278
- # @see Data
279
- def data: () -> ::String
280
-
281
- # @rbs return: ::Integer
282
- # @return [Integer]
283
- # @see Removed
284
- def removed: () -> ::Integer
285
-
286
- # for per-port options
287
- # @rbs return: ::Integer
288
- # @return [Integer]
289
- # @see PortIfindex
290
- def port_ifindex: () -> ::Integer
122
+ include Definitions
291
123
 
292
- # for array options
293
- # @rbs return: ::Integer
294
- # @return [Integer]
295
- # @see ArrayIndex
296
- def array_index: () -> ::Integer
297
-
298
- # Looks up Attribute class by name.
299
- # @rbs name: Symbol
300
- # @rbs return: Attribute
301
- # @param [Symbol] name
302
- # @return [Attribute]
303
- def self.by_name: (Symbol name) -> Attribute
304
-
305
- # Looks up Attribute class by type value.
306
- # @rbs type: Integer
307
- # @rbs return: Attribute
308
- # @param [Integer] type
309
- # @return [Attribute]
310
- def self.by_type: (Integer type) -> Attribute
124
+ # Decodes attributes from the decoder into a new attribute set.
125
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
126
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
311
127
  end
312
128
 
313
129
  class ItemPort < ::Nl::AttributeSet
314
- # Abstract class
315
- class Attribute < ::Nl::AttributeSet::Attribute
130
+ module Definitions
131
+ # @rbs return: AttributeSets::AttrPort
132
+ # @return [AttributeSets::AttrPort]
133
+ def port: () -> AttributeSets::AttrPort
316
134
  end
317
135
 
318
- class Port < Attribute
319
- TYPE: ::Integer
320
-
321
- NAME: ::Symbol
136
+ include Definitions
322
137
 
323
- # @private
324
- ORDER: ::Integer
325
- end
326
-
327
- # @private
328
- BY_NAME: Hash[::Symbol, Attribute]
329
-
330
- # @private
331
- BY_TYPE: Hash[::Integer, Attribute]
332
-
333
- # @rbs return: AttributeSets::AttrPort
334
- # @return [AttributeSets::AttrPort]
335
- # @see Port
336
- def port: () -> AttributeSets::AttrPort
337
-
338
- # Looks up Attribute class by name.
339
- # @rbs name: Symbol
340
- # @rbs return: Attribute
341
- # @param [Symbol] name
342
- # @return [Attribute]
343
- def self.by_name: (Symbol name) -> Attribute
344
-
345
- # Looks up Attribute class by type value.
346
- # @rbs type: Integer
347
- # @rbs return: Attribute
348
- # @param [Integer] type
349
- # @return [Attribute]
350
- def self.by_type: (Integer type) -> Attribute
138
+ # Decodes attributes from the decoder into a new attribute set.
139
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
140
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
351
141
  end
352
142
 
353
143
  class AttrPort < ::Nl::AttributeSet
354
- # Abstract class
355
- class Attribute < ::Nl::AttributeSet::Attribute
144
+ module Definitions
145
+ # @rbs return: ::Integer
146
+ # @return [Integer]
147
+ def ifindex: () -> ::Integer
148
+
149
+ # @rbs return: ::Integer
150
+ # @return [Integer]
151
+ def changed: () -> ::Integer
152
+
153
+ # @rbs return: ::Integer
154
+ # @return [Integer]
155
+ def linkup: () -> ::Integer
156
+
157
+ # @rbs return: ::Integer
158
+ # @return [Integer]
159
+ def speed: () -> ::Integer
160
+
161
+ # @rbs return: ::Integer
162
+ # @return [Integer]
163
+ def duplex: () -> ::Integer
164
+
165
+ # @rbs return: ::Integer
166
+ # @return [Integer]
167
+ def removed: () -> ::Integer
356
168
  end
357
169
 
358
- class Ifindex < Attribute
359
- TYPE: ::Integer
170
+ include Definitions
360
171
 
361
- NAME: ::Symbol
172
+ # Decodes attributes from the decoder into a new attribute set.
173
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
174
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
175
+ end
176
+ end
362
177
 
178
+ module AttributeSets
179
+ class Team
180
+ module Definitions
363
181
  # @private
364
- ORDER: ::Integer
182
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
365
183
 
366
184
  # @private
367
- DATATYPE: untyped
185
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
368
186
  end
187
+ end
369
188
 
370
- class Changed < Attribute
371
- TYPE: ::Integer
372
-
373
- NAME: ::Symbol
374
-
189
+ class ItemOption
190
+ module Definitions
375
191
  # @private
376
- ORDER: ::Integer
192
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
377
193
 
378
194
  # @private
379
- DATATYPE: untyped
195
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
380
196
  end
197
+ end
381
198
 
382
- class Linkup < Attribute
383
- TYPE: ::Integer
384
-
385
- NAME: ::Symbol
386
-
199
+ class AttrOption
200
+ module Definitions
387
201
  # @private
388
- ORDER: ::Integer
202
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
389
203
 
390
204
  # @private
391
- DATATYPE: untyped
205
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
392
206
  end
207
+ end
393
208
 
394
- class Speed < Attribute
395
- TYPE: ::Integer
396
-
397
- NAME: ::Symbol
398
-
209
+ class ItemPort
210
+ module Definitions
399
211
  # @private
400
- ORDER: ::Integer
212
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
401
213
 
402
214
  # @private
403
- DATATYPE: untyped
215
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
404
216
  end
217
+ end
405
218
 
406
- class Duplex < Attribute
407
- TYPE: ::Integer
408
-
409
- NAME: ::Symbol
410
-
219
+ class AttrPort
220
+ module Definitions
411
221
  # @private
412
- ORDER: ::Integer
222
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
413
223
 
414
224
  # @private
415
- DATATYPE: untyped
225
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
416
226
  end
227
+ end
228
+ end
417
229
 
418
- class Removed < Attribute
419
- TYPE: ::Integer
420
-
421
- NAME: ::Symbol
422
-
423
- # @private
424
- ORDER: ::Integer
425
-
426
- # @private
427
- DATATYPE: untyped
428
- end
230
+ module Messages
231
+ # No operation
232
+ class DoNoopRequest < ::Nl::Message
233
+ TYPE: ::Integer
429
234
 
430
- # @private
431
- BY_NAME: Hash[::Symbol, Attribute]
235
+ FIXED_HEADER: untyped
432
236
 
433
- # @private
434
- BY_TYPE: Hash[::Integer, Attribute]
237
+ ATTRIBUTE_SET: untyped
435
238
 
436
- # @rbs return: ::Integer
437
- # @return [Integer]
438
- # @see Ifindex
439
- def ifindex: () -> ::Integer
239
+ ATTRIBUTES: untyped
440
240
 
441
- # @rbs return: ::Integer
442
- # @return [Integer]
443
- # @see Changed
444
- def changed: () -> ::Integer
241
+ include ATTRIBUTE_SET::Definitions
445
242
 
446
- # @rbs return: ::Integer
447
- # @return [Integer]
448
- # @see Linkup
449
- def linkup: () -> ::Integer
243
+ def initialize: (?untyped attributes) -> untyped
450
244
 
451
- # @rbs return: ::Integer
452
- # @return [Integer]
453
- # @see Speed
454
- def speed: () -> ::Integer
245
+ # @private
246
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
455
247
 
456
- # @rbs return: ::Integer
457
- # @return [Integer]
458
- # @see Duplex
459
- def duplex: () -> ::Integer
248
+ # Decodes a message payload from the decoder into a new instance.
249
+ # @rbs (::Nl::Decoder decoder) -> instance
250
+ def self.decode: (::Nl::Decoder decoder) -> instance
460
251
 
461
- # @rbs return: ::Integer
462
- # @return [Integer]
463
- # @see Removed
464
- def removed: () -> ::Integer
465
-
466
- # Looks up Attribute class by name.
467
- # @rbs name: Symbol
468
- # @rbs return: Attribute
469
- # @param [Symbol] name
470
- # @return [Attribute]
471
- def self.by_name: (Symbol name) -> Attribute
472
-
473
- # Looks up Attribute class by type value.
474
- # @rbs type: Integer
475
- # @rbs return: Attribute
476
- # @param [Integer] type
477
- # @return [Attribute]
478
- def self.by_type: (Integer type) -> Attribute
252
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
479
253
  end
480
- end
481
254
 
482
- module Messages
483
255
  # No operation
484
- class DoNoopRequest < ::Nl::Genl::Message
256
+ class DoNoopReply < ::Nl::Message
485
257
  TYPE: ::Integer
486
258
 
487
259
  FIXED_HEADER: untyped
@@ -489,28 +261,29 @@ module Nl
489
261
  ATTRIBUTE_SET: untyped
490
262
 
491
263
  ATTRIBUTES: untyped
492
- end
493
264
 
494
- # No operation
495
- class DoNoopReply < ::Nl::Genl::Message
496
- TYPE: ::Integer
265
+ include ATTRIBUTE_SET::Definitions
497
266
 
498
- FIXED_HEADER: untyped
267
+ def initialize: (?untyped attributes) -> untyped
499
268
 
500
- ATTRIBUTE_SET: untyped
269
+ # @private
270
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
501
271
 
502
- ATTRIBUTES: untyped
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
503
277
 
504
278
  # @rbs return: ::Integer
505
279
  # @return [Integer]
506
- # @see AttributeSets::Team::TeamIfindex
507
280
  def team_ifindex: () -> ::Integer
508
281
  end
509
282
 
510
283
  # Set team options
511
284
  #
512
285
  # Requires CAP_NET_ADMIN in the initial user namespace.
513
- class DoOptionsSetRequest < ::Nl::Genl::Message
286
+ class DoOptionsSetRequest < ::Nl::Message
514
287
  TYPE: ::Integer
515
288
 
516
289
  FIXED_HEADER: untyped
@@ -519,21 +292,32 @@ module Nl
519
292
 
520
293
  ATTRIBUTES: untyped
521
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
+
522
308
  # @rbs return: ::Integer
523
309
  # @return [Integer]
524
- # @see AttributeSets::Team::TeamIfindex
525
310
  def team_ifindex: () -> ::Integer
526
311
 
527
312
  # @rbs return: AttributeSets::ItemOption
528
313
  # @return [AttributeSets::ItemOption]
529
- # @see AttributeSets::Team::ListOption
530
314
  def list_option: () -> AttributeSets::ItemOption
531
315
  end
532
316
 
533
317
  # Set team options
534
318
  #
535
319
  # Requires CAP_NET_ADMIN in the initial user namespace.
536
- class DoOptionsSetReply < ::Nl::Genl::Message
320
+ class DoOptionsSetReply < ::Nl::Message
537
321
  TYPE: ::Integer
538
322
 
539
323
  FIXED_HEADER: untyped
@@ -542,21 +326,32 @@ module Nl
542
326
 
543
327
  ATTRIBUTES: untyped
544
328
 
329
+ include ATTRIBUTE_SET::Definitions
330
+
331
+ def initialize: (?untyped attributes) -> untyped
332
+
333
+ # @private
334
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
335
+
336
+ # Decodes a message payload from the decoder into a new instance.
337
+ # @rbs (::Nl::Decoder decoder) -> instance
338
+ def self.decode: (::Nl::Decoder decoder) -> instance
339
+
340
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
341
+
545
342
  # @rbs return: ::Integer
546
343
  # @return [Integer]
547
- # @see AttributeSets::Team::TeamIfindex
548
344
  def team_ifindex: () -> ::Integer
549
345
 
550
346
  # @rbs return: AttributeSets::ItemOption
551
347
  # @return [AttributeSets::ItemOption]
552
- # @see AttributeSets::Team::ListOption
553
348
  def list_option: () -> AttributeSets::ItemOption
554
349
  end
555
350
 
556
351
  # Get team options info
557
352
  #
558
353
  # Requires CAP_NET_ADMIN in the initial user namespace.
559
- class DoOptionsGetRequest < ::Nl::Genl::Message
354
+ class DoOptionsGetRequest < ::Nl::Message
560
355
  TYPE: ::Integer
561
356
 
562
357
  FIXED_HEADER: untyped
@@ -565,16 +360,28 @@ module Nl
565
360
 
566
361
  ATTRIBUTES: untyped
567
362
 
363
+ include ATTRIBUTE_SET::Definitions
364
+
365
+ def initialize: (?untyped attributes) -> untyped
366
+
367
+ # @private
368
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
369
+
370
+ # Decodes a message payload from the decoder into a new instance.
371
+ # @rbs (::Nl::Decoder decoder) -> instance
372
+ def self.decode: (::Nl::Decoder decoder) -> instance
373
+
374
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
375
+
568
376
  # @rbs return: ::Integer
569
377
  # @return [Integer]
570
- # @see AttributeSets::Team::TeamIfindex
571
378
  def team_ifindex: () -> ::Integer
572
379
  end
573
380
 
574
381
  # Get team options info
575
382
  #
576
383
  # Requires CAP_NET_ADMIN in the initial user namespace.
577
- class DoOptionsGetReply < ::Nl::Genl::Message
384
+ class DoOptionsGetReply < ::Nl::Message
578
385
  TYPE: ::Integer
579
386
 
580
387
  FIXED_HEADER: untyped
@@ -583,21 +390,32 @@ module Nl
583
390
 
584
391
  ATTRIBUTES: untyped
585
392
 
393
+ include ATTRIBUTE_SET::Definitions
394
+
395
+ def initialize: (?untyped attributes) -> untyped
396
+
397
+ # @private
398
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
399
+
400
+ # Decodes a message payload from the decoder into a new instance.
401
+ # @rbs (::Nl::Decoder decoder) -> instance
402
+ def self.decode: (::Nl::Decoder decoder) -> instance
403
+
404
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
405
+
586
406
  # @rbs return: ::Integer
587
407
  # @return [Integer]
588
- # @see AttributeSets::Team::TeamIfindex
589
408
  def team_ifindex: () -> ::Integer
590
409
 
591
410
  # @rbs return: AttributeSets::ItemOption
592
411
  # @return [AttributeSets::ItemOption]
593
- # @see AttributeSets::Team::ListOption
594
412
  def list_option: () -> AttributeSets::ItemOption
595
413
  end
596
414
 
597
415
  # Get team ports info
598
416
  #
599
417
  # Requires CAP_NET_ADMIN in the initial user namespace.
600
- class DoPortListGetRequest < ::Nl::Genl::Message
418
+ class DoPortListGetRequest < ::Nl::Message
601
419
  TYPE: ::Integer
602
420
 
603
421
  FIXED_HEADER: untyped
@@ -606,16 +424,28 @@ module Nl
606
424
 
607
425
  ATTRIBUTES: untyped
608
426
 
427
+ include ATTRIBUTE_SET::Definitions
428
+
429
+ def initialize: (?untyped attributes) -> untyped
430
+
431
+ # @private
432
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
433
+
434
+ # Decodes a message payload from the decoder into a new instance.
435
+ # @rbs (::Nl::Decoder decoder) -> instance
436
+ def self.decode: (::Nl::Decoder decoder) -> instance
437
+
438
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
439
+
609
440
  # @rbs return: ::Integer
610
441
  # @return [Integer]
611
- # @see AttributeSets::Team::TeamIfindex
612
442
  def team_ifindex: () -> ::Integer
613
443
  end
614
444
 
615
445
  # Get team ports info
616
446
  #
617
447
  # Requires CAP_NET_ADMIN in the initial user namespace.
618
- class DoPortListGetReply < ::Nl::Genl::Message
448
+ class DoPortListGetReply < ::Nl::Message
619
449
  TYPE: ::Integer
620
450
 
621
451
  FIXED_HEADER: untyped
@@ -624,14 +454,25 @@ module Nl
624
454
 
625
455
  ATTRIBUTES: untyped
626
456
 
457
+ include ATTRIBUTE_SET::Definitions
458
+
459
+ def initialize: (?untyped attributes) -> untyped
460
+
461
+ # @private
462
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
463
+
464
+ # Decodes a message payload from the decoder into a new instance.
465
+ # @rbs (::Nl::Decoder decoder) -> instance
466
+ def self.decode: (::Nl::Decoder decoder) -> instance
467
+
468
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
469
+
627
470
  # @rbs return: ::Integer
628
471
  # @return [Integer]
629
- # @see AttributeSets::Team::TeamIfindex
630
472
  def team_ifindex: () -> ::Integer
631
473
 
632
474
  # @rbs return: AttributeSets::ItemPort
633
475
  # @return [AttributeSets::ItemPort]
634
- # @see AttributeSets::Team::ListPort
635
476
  def list_port: () -> AttributeSets::ItemPort
636
477
  end
637
478
  end