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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -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
@@ -99,11 +99,9 @@ module Nl
99
99
  end
100
100
 
101
101
  module Structs
102
- class Ndmsg < Struct[::Integer | nil]
102
+ class Ndmsg < Struct[::Integer]
103
103
  attr_accessor ndm_family(): ::Integer
104
104
 
105
- attr_accessor ndm_pad(): nil
106
-
107
105
  attr_accessor ndm_ifindex(): ::Integer
108
106
 
109
107
  attr_accessor ndm_state(): ::Integer
@@ -112,15 +110,13 @@ module Nl
112
110
 
113
111
  attr_accessor ndm_type(): ::Integer
114
112
 
115
- def self.new: (?::Integer ndm_family, ?nil ndm_pad, ?::Integer ndm_ifindex, ?::Integer ndm_state, ?::Integer ndm_flags, ?::Integer ndm_type) -> instance
116
- | (?ndm_family: ::Integer, ?ndm_pad: nil, ?ndm_ifindex: ::Integer, ?ndm_state: ::Integer, ?ndm_flags: ::Integer, ?ndm_type: ::Integer) -> instance
113
+ def self.new: (?::Integer ndm_family, ?::Integer ndm_ifindex, ?::Integer ndm_state, ?::Integer ndm_flags, ?::Integer ndm_type) -> instance
114
+ | (?ndm_family: ::Integer, ?ndm_ifindex: ::Integer, ?ndm_state: ::Integer, ?ndm_flags: ::Integer, ?ndm_type: ::Integer) -> instance
117
115
  end
118
116
 
119
117
  class Ndmsg
120
118
  # @!attribute [rw] ndm_family
121
119
  # @return [Integer]
122
- # @!attribute [rw] ndm_pad
123
- # @return [nil]
124
120
  # @!attribute [rw] ndm_ifindex
125
121
  # @return [Integer]
126
122
  # @!attribute [rw] ndm_state
@@ -132,6 +128,10 @@ module Nl
132
128
  # @private
133
129
  MEMBERS: Hash[::Symbol, ::Nl::_DataType]
134
130
 
131
+ # @private
132
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
133
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
134
+
135
135
  # Decodes the struct.
136
136
  # @rbs decoder: ::Nl::Decoder
137
137
  # @rbs return: instance
@@ -147,23 +147,23 @@ module Nl
147
147
  def encode: (::Nl::Encoder encoder) -> void
148
148
  end
149
149
 
150
- class Ndtmsg < Struct[::Integer | nil]
150
+ class Ndtmsg < Struct[::Integer]
151
151
  attr_accessor family(): ::Integer
152
152
 
153
- attr_accessor pad(): nil
154
-
155
- def self.new: (?::Integer family, ?nil pad) -> instance
156
- | (?family: ::Integer, ?pad: nil) -> instance
153
+ def self.new: (?::Integer family) -> instance
154
+ | (?family: ::Integer) -> instance
157
155
  end
158
156
 
159
157
  class Ndtmsg
160
158
  # @!attribute [rw] family
161
159
  # @return [Integer]
162
- # @!attribute [rw] pad
163
- # @return [nil]
164
160
  # @private
165
161
  MEMBERS: Hash[::Symbol, ::Nl::_DataType]
166
162
 
163
+ # @private
164
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
165
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
166
+
167
167
  # Decodes the struct.
168
168
  # @rbs decoder: ::Nl::Decoder
169
169
  # @rbs return: instance
@@ -204,6 +204,10 @@ module Nl
204
204
  # @private
205
205
  MEMBERS: Hash[::Symbol, ::Nl::_DataType]
206
206
 
207
+ # @private
208
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
209
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
210
+
207
211
  # Decodes the struct.
208
212
  # @rbs decoder: ::Nl::Decoder
209
213
  # @rbs return: instance
@@ -249,959 +253,357 @@ module Nl
249
253
  # @return [Integer]
250
254
  # @!attribute [rw] entries
251
255
  # @return [Integer]
252
- # @!attribute [rw] last_flush
253
- # @return [Integer]
254
- # @!attribute [rw] last_rand
255
- # @return [Integer]
256
- # @!attribute [rw] hash_rnd
257
- # @return [Integer]
258
- # @!attribute [rw] hash_mask
259
- # @return [Integer]
260
- # @!attribute [rw] hash_chain_gc
261
- # @return [Integer]
262
- # @!attribute [rw] proxy_qlen
263
- # @return [Integer]
264
- # @private
265
- MEMBERS: Hash[::Symbol, ::Nl::_DataType]
266
-
267
- # Decodes the struct.
268
- # @rbs decoder: ::Nl::Decoder
269
- # @rbs return: instance
270
- # @param [Nl::Decoder] decoder
271
- # @return [self]
272
- def self.decode: (::Nl::Decoder decoder) -> instance
273
-
274
- # Encodes the struct.
275
- # @rbs encoder: ::Nl::Encoder
276
- # @rbs return: void
277
- # @param [Nl::Encoder] encoder
278
- # @return [void]
279
- def encode: (::Nl::Encoder encoder) -> void
280
- end
281
-
282
- class NdtStats < Struct[::Integer]
283
- attr_accessor allocs(): ::Integer
284
-
285
- attr_accessor destroys(): ::Integer
286
-
287
- attr_accessor hash_grows(): ::Integer
288
-
289
- attr_accessor res_failed(): ::Integer
290
-
291
- attr_accessor lookups(): ::Integer
292
-
293
- attr_accessor hits(): ::Integer
294
-
295
- attr_accessor rcv_probes_mcast(): ::Integer
296
-
297
- attr_accessor rcv_probes_ucast(): ::Integer
298
-
299
- attr_accessor periodic_gc_runs(): ::Integer
300
-
301
- attr_accessor forced_gc_runs(): ::Integer
302
-
303
- attr_accessor table_fulls(): ::Integer
304
-
305
- def self.new: (?::Integer allocs, ?::Integer destroys, ?::Integer hash_grows, ?::Integer res_failed, ?::Integer lookups, ?::Integer hits, ?::Integer rcv_probes_mcast, ?::Integer rcv_probes_ucast, ?::Integer periodic_gc_runs, ?::Integer forced_gc_runs, ?::Integer table_fulls) -> instance
306
- | (?allocs: ::Integer, ?destroys: ::Integer, ?hash_grows: ::Integer, ?res_failed: ::Integer, ?lookups: ::Integer, ?hits: ::Integer, ?rcv_probes_mcast: ::Integer, ?rcv_probes_ucast: ::Integer, ?periodic_gc_runs: ::Integer, ?forced_gc_runs: ::Integer, ?table_fulls: ::Integer) -> instance
307
- end
308
-
309
- class NdtStats
310
- # @!attribute [rw] allocs
311
- # @return [Integer]
312
- # @!attribute [rw] destroys
313
- # @return [Integer]
314
- # @!attribute [rw] hash_grows
315
- # @return [Integer]
316
- # @!attribute [rw] res_failed
317
- # @return [Integer]
318
- # @!attribute [rw] lookups
319
- # @return [Integer]
320
- # @!attribute [rw] hits
321
- # @return [Integer]
322
- # @!attribute [rw] rcv_probes_mcast
323
- # @return [Integer]
324
- # @!attribute [rw] rcv_probes_ucast
325
- # @return [Integer]
326
- # @!attribute [rw] periodic_gc_runs
327
- # @return [Integer]
328
- # @!attribute [rw] forced_gc_runs
329
- # @return [Integer]
330
- # @!attribute [rw] table_fulls
331
- # @return [Integer]
332
- # @private
333
- MEMBERS: Hash[::Symbol, ::Nl::_DataType]
334
-
335
- # Decodes the struct.
336
- # @rbs decoder: ::Nl::Decoder
337
- # @rbs return: instance
338
- # @param [Nl::Decoder] decoder
339
- # @return [self]
340
- def self.decode: (::Nl::Decoder decoder) -> instance
341
-
342
- # Encodes the struct.
343
- # @rbs encoder: ::Nl::Encoder
344
- # @rbs return: void
345
- # @param [Nl::Encoder] encoder
346
- # @return [void]
347
- def encode: (::Nl::Encoder encoder) -> void
348
- end
349
- end
350
-
351
- module AttributeSets
352
- class NeighbourAttrs < ::Nl::AttributeSet
353
- # Abstract class
354
- class Attribute < ::Nl::AttributeSet::Attribute
355
- end
356
-
357
- class Unspec < Attribute
358
- TYPE: ::Integer
359
-
360
- NAME: ::Symbol
361
-
362
- # @private
363
- ORDER: ::Integer
364
-
365
- # @private
366
- DATATYPE: untyped
367
- end
368
-
369
- class Dst < Attribute
370
- TYPE: ::Integer
371
-
372
- NAME: ::Symbol
373
-
374
- # @private
375
- ORDER: ::Integer
376
-
377
- # @private
378
- DATATYPE: untyped
379
- end
380
-
381
- class Lladdr < Attribute
382
- TYPE: ::Integer
383
-
384
- NAME: ::Symbol
385
-
386
- # @private
387
- ORDER: ::Integer
388
-
389
- # @private
390
- DATATYPE: untyped
391
- end
392
-
393
- class Cacheinfo < Attribute
394
- TYPE: ::Integer
395
-
396
- NAME: ::Symbol
397
-
398
- # @private
399
- ORDER: ::Integer
400
-
401
- # @private
402
- DATATYPE: untyped
403
- end
404
-
405
- class Probes < Attribute
406
- TYPE: ::Integer
407
-
408
- NAME: ::Symbol
409
-
410
- # @private
411
- ORDER: ::Integer
412
-
413
- # @private
414
- DATATYPE: untyped
415
- end
416
-
417
- class Vlan < Attribute
418
- TYPE: ::Integer
419
-
420
- NAME: ::Symbol
421
-
422
- # @private
423
- ORDER: ::Integer
424
-
425
- # @private
426
- DATATYPE: untyped
427
- end
428
-
429
- class Port < Attribute
430
- TYPE: ::Integer
431
-
432
- NAME: ::Symbol
433
-
434
- # @private
435
- ORDER: ::Integer
436
-
437
- # @private
438
- DATATYPE: untyped
439
- end
440
-
441
- class Vni < Attribute
442
- TYPE: ::Integer
443
-
444
- NAME: ::Symbol
445
-
446
- # @private
447
- ORDER: ::Integer
448
-
449
- # @private
450
- DATATYPE: untyped
451
- end
452
-
453
- class Ifindex < Attribute
454
- TYPE: ::Integer
455
-
456
- NAME: ::Symbol
457
-
458
- # @private
459
- ORDER: ::Integer
460
-
461
- # @private
462
- DATATYPE: untyped
463
- end
464
-
465
- class Master < Attribute
466
- TYPE: ::Integer
467
-
468
- NAME: ::Symbol
469
-
470
- # @private
471
- ORDER: ::Integer
472
-
473
- # @private
474
- DATATYPE: untyped
475
- end
476
-
477
- class LinkNetnsid < Attribute
478
- TYPE: ::Integer
479
-
480
- NAME: ::Symbol
481
-
482
- # @private
483
- ORDER: ::Integer
484
-
485
- # @private
486
- DATATYPE: untyped
487
- end
488
-
489
- class SrcVni < Attribute
490
- TYPE: ::Integer
491
-
492
- NAME: ::Symbol
493
-
494
- # @private
495
- ORDER: ::Integer
496
-
497
- # @private
498
- DATATYPE: untyped
499
- end
500
-
501
- class Protocol < Attribute
502
- TYPE: ::Integer
503
-
504
- NAME: ::Symbol
505
-
506
- # @private
507
- ORDER: ::Integer
508
-
509
- # @private
510
- DATATYPE: untyped
511
- end
512
-
513
- class NhId < Attribute
514
- TYPE: ::Integer
515
-
516
- NAME: ::Symbol
517
-
518
- # @private
519
- ORDER: ::Integer
520
-
521
- # @private
522
- DATATYPE: untyped
523
- end
524
-
525
- class FdbExtAttrs < Attribute
526
- TYPE: ::Integer
527
-
528
- NAME: ::Symbol
529
-
530
- # @private
531
- ORDER: ::Integer
532
-
533
- # @private
534
- DATATYPE: untyped
535
- end
536
-
537
- # Known flags are defined in {Flags::NtfExtFlags}.
538
- class FlagsExt < Attribute
539
- TYPE: ::Integer
540
-
541
- NAME: ::Symbol
542
-
543
- # @private
544
- ORDER: ::Integer
545
-
546
- # @private
547
- DATATYPE: untyped
548
- end
549
-
550
- class NdmStateMask < Attribute
551
- TYPE: ::Integer
552
-
553
- NAME: ::Symbol
554
-
555
- # @private
556
- ORDER: ::Integer
557
-
558
- # @private
559
- DATATYPE: untyped
560
- end
561
-
562
- class NdmFlagsMask < Attribute
563
- TYPE: ::Integer
564
-
565
- NAME: ::Symbol
566
-
567
- # @private
568
- ORDER: ::Integer
569
-
570
- # @private
571
- DATATYPE: untyped
572
- end
573
-
574
- # @private
575
- BY_NAME: Hash[::Symbol, Attribute]
576
-
577
- # @private
578
- BY_TYPE: Hash[::Integer, Attribute]
579
-
580
- # @rbs return: ::String
581
- # @return [String]
582
- # @see Unspec
583
- def unspec: () -> ::String
584
-
585
- # @rbs return: ::String
586
- # @return [String]
587
- # @see Dst
588
- def dst: () -> ::String
589
-
590
- # @rbs return: ::String
591
- # @return [String]
592
- # @see Lladdr
593
- def lladdr: () -> ::String
594
-
595
- # @rbs return: Structs::NdaCacheinfo
596
- # @return [Structs::NdaCacheinfo]
597
- # @see Cacheinfo
598
- def cacheinfo: () -> Structs::NdaCacheinfo
599
-
600
- # @rbs return: ::Integer
601
- # @return [Integer]
602
- # @see Probes
603
- def probes: () -> ::Integer
604
-
605
- # @rbs return: ::Integer
606
- # @return [Integer]
607
- # @see Vlan
608
- def vlan: () -> ::Integer
609
-
610
- # @rbs return: ::Integer
611
- # @return [Integer]
612
- # @see Port
613
- def port: () -> ::Integer
614
-
615
- # @rbs return: ::Integer
616
- # @return [Integer]
617
- # @see Vni
618
- def vni: () -> ::Integer
619
-
620
- # @rbs return: ::Integer
621
- # @return [Integer]
622
- # @see Ifindex
623
- def ifindex: () -> ::Integer
624
-
625
- # @rbs return: ::Integer
626
- # @return [Integer]
627
- # @see Master
628
- def master: () -> ::Integer
629
-
630
- # @rbs return: ::Integer
631
- # @return [Integer]
632
- # @see LinkNetnsid
633
- def link_netnsid: () -> ::Integer
634
-
635
- # @rbs return: ::Integer
636
- # @return [Integer]
637
- # @see SrcVni
638
- def src_vni: () -> ::Integer
639
-
640
- # @rbs return: ::Integer
641
- # @return [Integer]
642
- # @see Protocol
643
- def protocol: () -> ::Integer
644
-
645
- # @rbs return: ::Integer
646
- # @return [Integer]
647
- # @see NhId
648
- def nh_id: () -> ::Integer
649
-
650
- # @rbs return: ::String
651
- # @return [String]
652
- # @see FdbExtAttrs
653
- def fdb_ext_attrs: () -> ::String
654
-
655
- # Known flags are defined in {Flags::NtfExtFlags}.
656
- # @rbs return: ::Integer
657
- # @return [Integer]
658
- # @see FlagsExt
659
- def flags_ext: () -> ::Integer
660
-
661
- # @rbs return: ::Integer
662
- # @return [Integer]
663
- # @see NdmStateMask
664
- def ndm_state_mask: () -> ::Integer
665
-
666
- # @rbs return: ::Integer
667
- # @return [Integer]
668
- # @see NdmFlagsMask
669
- def ndm_flags_mask: () -> ::Integer
670
-
671
- # Looks up Attribute class by name.
672
- # @rbs name: Symbol
673
- # @rbs return: Attribute
674
- # @param [Symbol] name
675
- # @return [Attribute]
676
- def self.by_name: (Symbol name) -> Attribute
677
-
678
- # Looks up Attribute class by type value.
679
- # @rbs type: Integer
680
- # @rbs return: Attribute
681
- # @param [Integer] type
682
- # @return [Attribute]
683
- def self.by_type: (Integer type) -> Attribute
684
- end
685
-
686
- class NdtAttrs < ::Nl::AttributeSet
687
- # Abstract class
688
- class Attribute < ::Nl::AttributeSet::Attribute
689
- end
690
-
691
- class Name < Attribute
692
- TYPE: ::Integer
693
-
694
- NAME: ::Symbol
695
-
696
- # @private
697
- ORDER: ::Integer
698
-
699
- # @private
700
- DATATYPE: untyped
701
- end
702
-
703
- class Thresh1 < Attribute
704
- TYPE: ::Integer
705
-
706
- NAME: ::Symbol
707
-
708
- # @private
709
- ORDER: ::Integer
710
-
711
- # @private
712
- DATATYPE: untyped
713
- end
714
-
715
- class Thresh2 < Attribute
716
- TYPE: ::Integer
717
-
718
- NAME: ::Symbol
719
-
720
- # @private
721
- ORDER: ::Integer
722
-
723
- # @private
724
- DATATYPE: untyped
725
- end
726
-
727
- class Thresh3 < Attribute
728
- TYPE: ::Integer
729
-
730
- NAME: ::Symbol
731
-
732
- # @private
733
- ORDER: ::Integer
734
-
735
- # @private
736
- DATATYPE: untyped
737
- end
738
-
739
- class Config < Attribute
740
- TYPE: ::Integer
741
-
742
- NAME: ::Symbol
743
-
744
- # @private
745
- ORDER: ::Integer
746
-
747
- # @private
748
- DATATYPE: untyped
749
- end
750
-
751
- class Parms < Attribute
752
- TYPE: ::Integer
753
-
754
- NAME: ::Symbol
755
-
756
- # @private
757
- ORDER: ::Integer
758
- end
759
-
760
- class Stats < Attribute
761
- TYPE: ::Integer
762
-
763
- NAME: ::Symbol
764
-
765
- # @private
766
- ORDER: ::Integer
767
-
768
- # @private
769
- DATATYPE: untyped
770
- end
771
-
772
- class GcInterval < Attribute
773
- TYPE: ::Integer
774
-
775
- NAME: ::Symbol
776
-
777
- # @private
778
- ORDER: ::Integer
779
-
780
- # @private
781
- DATATYPE: untyped
782
- end
783
-
784
- class Pad < Attribute
785
- TYPE: ::Integer
786
-
787
- NAME: ::Symbol
788
-
789
- # @private
790
- ORDER: ::Integer
791
-
792
- # @private
793
- DATATYPE: untyped
794
- end
795
-
796
- # @private
797
- BY_NAME: Hash[::Symbol, Attribute]
798
-
799
- # @private
800
- BY_TYPE: Hash[::Integer, Attribute]
801
-
802
- # @rbs return: ::String
803
- # @return [String]
804
- # @see Name
805
- def name: () -> ::String
806
-
807
- # @rbs return: ::Integer
808
- # @return [Integer]
809
- # @see Thresh1
810
- def thresh1: () -> ::Integer
811
-
812
- # @rbs return: ::Integer
813
- # @return [Integer]
814
- # @see Thresh2
815
- def thresh2: () -> ::Integer
816
-
817
- # @rbs return: ::Integer
818
- # @return [Integer]
819
- # @see Thresh3
820
- def thresh3: () -> ::Integer
821
-
822
- # @rbs return: Structs::NdtConfig
823
- # @return [Structs::NdtConfig]
824
- # @see Config
825
- def config: () -> Structs::NdtConfig
826
-
827
- # @rbs return: AttributeSets::NdtpaAttrs
828
- # @return [AttributeSets::NdtpaAttrs]
829
- # @see Parms
830
- def parms: () -> AttributeSets::NdtpaAttrs
831
-
832
- # @rbs return: Structs::NdtStats
833
- # @return [Structs::NdtStats]
834
- # @see Stats
835
- def stats: () -> Structs::NdtStats
836
-
837
- # @rbs return: ::Integer
838
- # @return [Integer]
839
- # @see GcInterval
840
- def gc_interval: () -> ::Integer
841
-
842
- # Looks up Attribute class by name.
843
- # @rbs name: Symbol
844
- # @rbs return: Attribute
845
- # @param [Symbol] name
846
- # @return [Attribute]
847
- def self.by_name: (Symbol name) -> Attribute
848
-
849
- # Looks up Attribute class by type value.
850
- # @rbs type: Integer
851
- # @rbs return: Attribute
852
- # @param [Integer] type
853
- # @return [Attribute]
854
- def self.by_type: (Integer type) -> Attribute
855
- end
856
-
857
- class NdtpaAttrs < ::Nl::AttributeSet
858
- # Abstract class
859
- class Attribute < ::Nl::AttributeSet::Attribute
860
- end
861
-
862
- class Ifindex < Attribute
863
- TYPE: ::Integer
864
-
865
- NAME: ::Symbol
866
-
867
- # @private
868
- ORDER: ::Integer
869
-
870
- # @private
871
- DATATYPE: untyped
872
- end
873
-
874
- class Refcnt < Attribute
875
- TYPE: ::Integer
876
-
877
- NAME: ::Symbol
878
-
879
- # @private
880
- ORDER: ::Integer
881
-
882
- # @private
883
- DATATYPE: untyped
884
- end
885
-
886
- class ReachableTime < Attribute
887
- TYPE: ::Integer
888
-
889
- NAME: ::Symbol
890
-
891
- # @private
892
- ORDER: ::Integer
893
-
894
- # @private
895
- DATATYPE: untyped
896
- end
897
-
898
- class BaseReachableTime < Attribute
899
- TYPE: ::Integer
900
-
901
- NAME: ::Symbol
902
-
903
- # @private
904
- ORDER: ::Integer
905
-
906
- # @private
907
- DATATYPE: untyped
908
- end
909
-
910
- class RetransTime < Attribute
911
- TYPE: ::Integer
912
-
913
- NAME: ::Symbol
914
-
915
- # @private
916
- ORDER: ::Integer
917
-
918
- # @private
919
- DATATYPE: untyped
920
- end
921
-
922
- class GcStaletime < Attribute
923
- TYPE: ::Integer
924
-
925
- NAME: ::Symbol
926
-
927
- # @private
928
- ORDER: ::Integer
929
-
930
- # @private
931
- DATATYPE: untyped
932
- end
933
-
934
- class DelayProbeTime < Attribute
935
- TYPE: ::Integer
936
-
937
- NAME: ::Symbol
938
-
939
- # @private
940
- ORDER: ::Integer
941
-
942
- # @private
943
- DATATYPE: untyped
944
- end
945
-
946
- class QueueLen < Attribute
947
- TYPE: ::Integer
948
-
949
- NAME: ::Symbol
950
-
951
- # @private
952
- ORDER: ::Integer
953
-
954
- # @private
955
- DATATYPE: untyped
956
- end
957
-
958
- class AppProbes < Attribute
959
- TYPE: ::Integer
960
-
961
- NAME: ::Symbol
962
-
963
- # @private
964
- ORDER: ::Integer
965
-
966
- # @private
967
- DATATYPE: untyped
968
- end
256
+ # @!attribute [rw] last_flush
257
+ # @return [Integer]
258
+ # @!attribute [rw] last_rand
259
+ # @return [Integer]
260
+ # @!attribute [rw] hash_rnd
261
+ # @return [Integer]
262
+ # @!attribute [rw] hash_mask
263
+ # @return [Integer]
264
+ # @!attribute [rw] hash_chain_gc
265
+ # @return [Integer]
266
+ # @!attribute [rw] proxy_qlen
267
+ # @return [Integer]
268
+ # @private
269
+ MEMBERS: Hash[::Symbol, ::Nl::_DataType]
969
270
 
970
- class UcastProbes < Attribute
971
- TYPE: ::Integer
271
+ # @private
272
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
273
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
972
274
 
973
- NAME: ::Symbol
275
+ # Decodes the struct.
276
+ # @rbs decoder: ::Nl::Decoder
277
+ # @rbs return: instance
278
+ # @param [Nl::Decoder] decoder
279
+ # @return [self]
280
+ def self.decode: (::Nl::Decoder decoder) -> instance
974
281
 
975
- # @private
976
- ORDER: ::Integer
282
+ # Encodes the struct.
283
+ # @rbs encoder: ::Nl::Encoder
284
+ # @rbs return: void
285
+ # @param [Nl::Encoder] encoder
286
+ # @return [void]
287
+ def encode: (::Nl::Encoder encoder) -> void
288
+ end
977
289
 
978
- # @private
979
- DATATYPE: untyped
980
- end
290
+ class NdtStats < Struct[::Integer]
291
+ attr_accessor allocs(): ::Integer
981
292
 
982
- class McastProbes < Attribute
983
- TYPE: ::Integer
293
+ attr_accessor destroys(): ::Integer
984
294
 
985
- NAME: ::Symbol
295
+ attr_accessor hash_grows(): ::Integer
986
296
 
987
- # @private
988
- ORDER: ::Integer
297
+ attr_accessor res_failed(): ::Integer
989
298
 
990
- # @private
991
- DATATYPE: untyped
992
- end
299
+ attr_accessor lookups(): ::Integer
993
300
 
994
- class AnycastDelay < Attribute
995
- TYPE: ::Integer
301
+ attr_accessor hits(): ::Integer
996
302
 
997
- NAME: ::Symbol
303
+ attr_accessor rcv_probes_mcast(): ::Integer
998
304
 
999
- # @private
1000
- ORDER: ::Integer
305
+ attr_accessor rcv_probes_ucast(): ::Integer
1001
306
 
1002
- # @private
1003
- DATATYPE: untyped
1004
- end
307
+ attr_accessor periodic_gc_runs(): ::Integer
1005
308
 
1006
- class ProxyDelay < Attribute
1007
- TYPE: ::Integer
309
+ attr_accessor forced_gc_runs(): ::Integer
1008
310
 
1009
- NAME: ::Symbol
311
+ attr_accessor table_fulls(): ::Integer
1010
312
 
1011
- # @private
1012
- ORDER: ::Integer
313
+ def self.new: (?::Integer allocs, ?::Integer destroys, ?::Integer hash_grows, ?::Integer res_failed, ?::Integer lookups, ?::Integer hits, ?::Integer rcv_probes_mcast, ?::Integer rcv_probes_ucast, ?::Integer periodic_gc_runs, ?::Integer forced_gc_runs, ?::Integer table_fulls) -> instance
314
+ | (?allocs: ::Integer, ?destroys: ::Integer, ?hash_grows: ::Integer, ?res_failed: ::Integer, ?lookups: ::Integer, ?hits: ::Integer, ?rcv_probes_mcast: ::Integer, ?rcv_probes_ucast: ::Integer, ?periodic_gc_runs: ::Integer, ?forced_gc_runs: ::Integer, ?table_fulls: ::Integer) -> instance
315
+ end
1013
316
 
1014
- # @private
1015
- DATATYPE: untyped
1016
- end
317
+ class NdtStats
318
+ # @!attribute [rw] allocs
319
+ # @return [Integer]
320
+ # @!attribute [rw] destroys
321
+ # @return [Integer]
322
+ # @!attribute [rw] hash_grows
323
+ # @return [Integer]
324
+ # @!attribute [rw] res_failed
325
+ # @return [Integer]
326
+ # @!attribute [rw] lookups
327
+ # @return [Integer]
328
+ # @!attribute [rw] hits
329
+ # @return [Integer]
330
+ # @!attribute [rw] rcv_probes_mcast
331
+ # @return [Integer]
332
+ # @!attribute [rw] rcv_probes_ucast
333
+ # @return [Integer]
334
+ # @!attribute [rw] periodic_gc_runs
335
+ # @return [Integer]
336
+ # @!attribute [rw] forced_gc_runs
337
+ # @return [Integer]
338
+ # @!attribute [rw] table_fulls
339
+ # @return [Integer]
340
+ # @private
341
+ MEMBERS: Hash[::Symbol, ::Nl::_DataType]
1017
342
 
1018
- class ProxyQlen < Attribute
1019
- TYPE: ::Integer
343
+ # @private
344
+ # @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
345
+ def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
1020
346
 
1021
- NAME: ::Symbol
347
+ # Decodes the struct.
348
+ # @rbs decoder: ::Nl::Decoder
349
+ # @rbs return: instance
350
+ # @param [Nl::Decoder] decoder
351
+ # @return [self]
352
+ def self.decode: (::Nl::Decoder decoder) -> instance
1022
353
 
1023
- # @private
1024
- ORDER: ::Integer
354
+ # Encodes the struct.
355
+ # @rbs encoder: ::Nl::Encoder
356
+ # @rbs return: void
357
+ # @param [Nl::Encoder] encoder
358
+ # @return [void]
359
+ def encode: (::Nl::Encoder encoder) -> void
360
+ end
361
+ end
1025
362
 
1026
- # @private
1027
- DATATYPE: untyped
363
+ module AttributeSets
364
+ class NeighbourAttrs < ::Nl::AttributeSet
365
+ module Definitions
366
+ # @rbs return: ::String
367
+ # @return [String]
368
+ def unspec: () -> ::String
369
+
370
+ # @rbs return: ::String
371
+ # @return [String]
372
+ def dst: () -> ::String
373
+
374
+ # @rbs return: ::String
375
+ # @return [String]
376
+ def lladdr: () -> ::String
377
+
378
+ # @rbs return: Structs::NdaCacheinfo
379
+ # @return [Structs::NdaCacheinfo]
380
+ def cacheinfo: () -> Structs::NdaCacheinfo
381
+
382
+ # @rbs return: ::Integer
383
+ # @return [Integer]
384
+ def probes: () -> ::Integer
385
+
386
+ # @rbs return: ::Integer
387
+ # @return [Integer]
388
+ def vlan: () -> ::Integer
389
+
390
+ # @rbs return: ::Integer
391
+ # @return [Integer]
392
+ def port: () -> ::Integer
393
+
394
+ # @rbs return: ::Integer
395
+ # @return [Integer]
396
+ def vni: () -> ::Integer
397
+
398
+ # @rbs return: ::Integer
399
+ # @return [Integer]
400
+ def ifindex: () -> ::Integer
401
+
402
+ # @rbs return: ::Integer
403
+ # @return [Integer]
404
+ def master: () -> ::Integer
405
+
406
+ # @rbs return: ::Integer
407
+ # @return [Integer]
408
+ def link_netnsid: () -> ::Integer
409
+
410
+ # @rbs return: ::Integer
411
+ # @return [Integer]
412
+ def src_vni: () -> ::Integer
413
+
414
+ # @rbs return: ::Integer
415
+ # @return [Integer]
416
+ def protocol: () -> ::Integer
417
+
418
+ # @rbs return: ::Integer
419
+ # @return [Integer]
420
+ def nh_id: () -> ::Integer
421
+
422
+ # @rbs return: ::String
423
+ # @return [String]
424
+ def fdb_ext_attrs: () -> ::String
425
+
426
+ # Known flags are defined in {Flags::NtfExtFlags}.
427
+ # @rbs return: ::Integer
428
+ # @return [Integer]
429
+ def flags_ext: () -> ::Integer
430
+
431
+ # @rbs return: ::Integer
432
+ # @return [Integer]
433
+ def ndm_state_mask: () -> ::Integer
434
+
435
+ # @rbs return: ::Integer
436
+ # @return [Integer]
437
+ def ndm_flags_mask: () -> ::Integer
1028
438
  end
1029
439
 
1030
- class Locktime < Attribute
1031
- TYPE: ::Integer
1032
-
1033
- NAME: ::Symbol
440
+ include Definitions
1034
441
 
1035
- # @private
1036
- ORDER: ::Integer
442
+ # Decodes attributes from the decoder into a new attribute set.
443
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
444
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
445
+ end
1037
446
 
1038
- # @private
1039
- DATATYPE: untyped
447
+ class NdtAttrs < ::Nl::AttributeSet
448
+ module Definitions
449
+ # @rbs return: ::String
450
+ # @return [String]
451
+ def name: () -> ::String
452
+
453
+ # @rbs return: ::Integer
454
+ # @return [Integer]
455
+ def thresh1: () -> ::Integer
456
+
457
+ # @rbs return: ::Integer
458
+ # @return [Integer]
459
+ def thresh2: () -> ::Integer
460
+
461
+ # @rbs return: ::Integer
462
+ # @return [Integer]
463
+ def thresh3: () -> ::Integer
464
+
465
+ # @rbs return: Structs::NdtConfig
466
+ # @return [Structs::NdtConfig]
467
+ def config: () -> Structs::NdtConfig
468
+
469
+ # @rbs return: AttributeSets::NdtpaAttrs
470
+ # @return [AttributeSets::NdtpaAttrs]
471
+ def parms: () -> AttributeSets::NdtpaAttrs
472
+
473
+ # @rbs return: Structs::NdtStats
474
+ # @return [Structs::NdtStats]
475
+ def stats: () -> Structs::NdtStats
476
+
477
+ # @rbs return: ::Integer
478
+ # @return [Integer]
479
+ def gc_interval: () -> ::Integer
1040
480
  end
1041
481
 
1042
- class QueueLenbytes < Attribute
1043
- TYPE: ::Integer
482
+ include Definitions
1044
483
 
1045
- NAME: ::Symbol
1046
-
1047
- # @private
1048
- ORDER: ::Integer
484
+ # Decodes attributes from the decoder into a new attribute set.
485
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
486
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
487
+ end
1049
488
 
1050
- # @private
1051
- DATATYPE: untyped
489
+ class NdtpaAttrs < ::Nl::AttributeSet
490
+ module Definitions
491
+ # @rbs return: ::Integer
492
+ # @return [Integer]
493
+ def ifindex: () -> ::Integer
494
+
495
+ # @rbs return: ::Integer
496
+ # @return [Integer]
497
+ def refcnt: () -> ::Integer
498
+
499
+ # @rbs return: ::Integer
500
+ # @return [Integer]
501
+ def reachable_time: () -> ::Integer
502
+
503
+ # @rbs return: ::Integer
504
+ # @return [Integer]
505
+ def base_reachable_time: () -> ::Integer
506
+
507
+ # @rbs return: ::Integer
508
+ # @return [Integer]
509
+ def retrans_time: () -> ::Integer
510
+
511
+ # @rbs return: ::Integer
512
+ # @return [Integer]
513
+ def gc_staletime: () -> ::Integer
514
+
515
+ # @rbs return: ::Integer
516
+ # @return [Integer]
517
+ def delay_probe_time: () -> ::Integer
518
+
519
+ # @rbs return: ::Integer
520
+ # @return [Integer]
521
+ def queue_len: () -> ::Integer
522
+
523
+ # @rbs return: ::Integer
524
+ # @return [Integer]
525
+ def app_probes: () -> ::Integer
526
+
527
+ # @rbs return: ::Integer
528
+ # @return [Integer]
529
+ def ucast_probes: () -> ::Integer
530
+
531
+ # @rbs return: ::Integer
532
+ # @return [Integer]
533
+ def mcast_probes: () -> ::Integer
534
+
535
+ # @rbs return: ::Integer
536
+ # @return [Integer]
537
+ def anycast_delay: () -> ::Integer
538
+
539
+ # @rbs return: ::Integer
540
+ # @return [Integer]
541
+ def proxy_delay: () -> ::Integer
542
+
543
+ # @rbs return: ::Integer
544
+ # @return [Integer]
545
+ def proxy_qlen: () -> ::Integer
546
+
547
+ # @rbs return: ::Integer
548
+ # @return [Integer]
549
+ def locktime: () -> ::Integer
550
+
551
+ # @rbs return: ::Integer
552
+ # @return [Integer]
553
+ def queue_lenbytes: () -> ::Integer
554
+
555
+ # @rbs return: ::Integer
556
+ # @return [Integer]
557
+ def mcast_reprobes: () -> ::Integer
558
+
559
+ # @rbs return: ::Integer
560
+ # @return [Integer]
561
+ def interval_probe_time_ms: () -> ::Integer
1052
562
  end
1053
563
 
1054
- class McastReprobes < Attribute
1055
- TYPE: ::Integer
564
+ include Definitions
1056
565
 
1057
- NAME: ::Symbol
566
+ # Decodes attributes from the decoder into a new attribute set.
567
+ # @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
568
+ def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
569
+ end
570
+ end
1058
571
 
572
+ module AttributeSets
573
+ class NeighbourAttrs
574
+ module Definitions
1059
575
  # @private
1060
- ORDER: ::Integer
576
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
1061
577
 
1062
578
  # @private
1063
- DATATYPE: untyped
579
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
1064
580
  end
581
+ end
1065
582
 
1066
- class Pad < Attribute
1067
- TYPE: ::Integer
1068
-
1069
- NAME: ::Symbol
1070
-
583
+ class NdtAttrs
584
+ module Definitions
1071
585
  # @private
1072
- ORDER: ::Integer
586
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
1073
587
 
1074
588
  # @private
1075
- DATATYPE: untyped
589
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
1076
590
  end
591
+ end
1077
592
 
1078
- class IntervalProbeTimeMs < Attribute
1079
- TYPE: ::Integer
1080
-
1081
- NAME: ::Symbol
1082
-
593
+ class NdtpaAttrs
594
+ module Definitions
1083
595
  # @private
1084
- ORDER: ::Integer
596
+ BY_TYPE: Array[::Nl::AttributeSet::Definition?]
1085
597
 
1086
598
  # @private
1087
- DATATYPE: untyped
599
+ BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
1088
600
  end
1089
-
1090
- # @private
1091
- BY_NAME: Hash[::Symbol, Attribute]
1092
-
1093
- # @private
1094
- BY_TYPE: Hash[::Integer, Attribute]
1095
-
1096
- # @rbs return: ::Integer
1097
- # @return [Integer]
1098
- # @see Ifindex
1099
- def ifindex: () -> ::Integer
1100
-
1101
- # @rbs return: ::Integer
1102
- # @return [Integer]
1103
- # @see Refcnt
1104
- def refcnt: () -> ::Integer
1105
-
1106
- # @rbs return: ::Integer
1107
- # @return [Integer]
1108
- # @see ReachableTime
1109
- def reachable_time: () -> ::Integer
1110
-
1111
- # @rbs return: ::Integer
1112
- # @return [Integer]
1113
- # @see BaseReachableTime
1114
- def base_reachable_time: () -> ::Integer
1115
-
1116
- # @rbs return: ::Integer
1117
- # @return [Integer]
1118
- # @see RetransTime
1119
- def retrans_time: () -> ::Integer
1120
-
1121
- # @rbs return: ::Integer
1122
- # @return [Integer]
1123
- # @see GcStaletime
1124
- def gc_staletime: () -> ::Integer
1125
-
1126
- # @rbs return: ::Integer
1127
- # @return [Integer]
1128
- # @see DelayProbeTime
1129
- def delay_probe_time: () -> ::Integer
1130
-
1131
- # @rbs return: ::Integer
1132
- # @return [Integer]
1133
- # @see QueueLen
1134
- def queue_len: () -> ::Integer
1135
-
1136
- # @rbs return: ::Integer
1137
- # @return [Integer]
1138
- # @see AppProbes
1139
- def app_probes: () -> ::Integer
1140
-
1141
- # @rbs return: ::Integer
1142
- # @return [Integer]
1143
- # @see UcastProbes
1144
- def ucast_probes: () -> ::Integer
1145
-
1146
- # @rbs return: ::Integer
1147
- # @return [Integer]
1148
- # @see McastProbes
1149
- def mcast_probes: () -> ::Integer
1150
-
1151
- # @rbs return: ::Integer
1152
- # @return [Integer]
1153
- # @see AnycastDelay
1154
- def anycast_delay: () -> ::Integer
1155
-
1156
- # @rbs return: ::Integer
1157
- # @return [Integer]
1158
- # @see ProxyDelay
1159
- def proxy_delay: () -> ::Integer
1160
-
1161
- # @rbs return: ::Integer
1162
- # @return [Integer]
1163
- # @see ProxyQlen
1164
- def proxy_qlen: () -> ::Integer
1165
-
1166
- # @rbs return: ::Integer
1167
- # @return [Integer]
1168
- # @see Locktime
1169
- def locktime: () -> ::Integer
1170
-
1171
- # @rbs return: ::Integer
1172
- # @return [Integer]
1173
- # @see QueueLenbytes
1174
- def queue_lenbytes: () -> ::Integer
1175
-
1176
- # @rbs return: ::Integer
1177
- # @return [Integer]
1178
- # @see McastReprobes
1179
- def mcast_reprobes: () -> ::Integer
1180
-
1181
- # @rbs return: ::Integer
1182
- # @return [Integer]
1183
- # @see IntervalProbeTimeMs
1184
- def interval_probe_time_ms: () -> ::Integer
1185
-
1186
- # Looks up Attribute class by name.
1187
- # @rbs name: Symbol
1188
- # @rbs return: Attribute
1189
- # @param [Symbol] name
1190
- # @return [Attribute]
1191
- def self.by_name: (Symbol name) -> Attribute
1192
-
1193
- # Looks up Attribute class by type value.
1194
- # @rbs type: Integer
1195
- # @rbs return: Attribute
1196
- # @param [Integer] type
1197
- # @return [Attribute]
1198
- def self.by_type: (Integer type) -> Attribute
1199
601
  end
1200
602
  end
1201
603
 
1202
604
  module Messages
1203
605
  # Add new neighbour entry
1204
- class DoNewneighRequest < ::Nl::Raw::Message
606
+ class DoNewneighRequest < ::Nl::Message
1205
607
  TYPE: ::Integer
1206
608
 
1207
609
  FIXED_HEADER: untyped
@@ -1210,6 +612,19 @@ module Nl
1210
612
 
1211
613
  ATTRIBUTES: untyped
1212
614
 
615
+ include ATTRIBUTE_SET::Definitions
616
+
617
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
618
+
619
+ # @private
620
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
621
+
622
+ # Decodes a message payload from the decoder into a new instance.
623
+ # @rbs (::Nl::Decoder decoder) -> instance
624
+ def self.decode: (::Nl::Decoder decoder) -> instance
625
+
626
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
627
+
1213
628
  # @rbs return: ::Integer
1214
629
  # @return [Integer]
1215
630
  def ndm_family: () -> ::Integer
@@ -1232,68 +647,56 @@ module Nl
1232
647
 
1233
648
  # @rbs return: ::String
1234
649
  # @return [String]
1235
- # @see AttributeSets::NeighbourAttrs::Dst
1236
650
  def dst: () -> ::String
1237
651
 
1238
652
  # @rbs return: ::String
1239
653
  # @return [String]
1240
- # @see AttributeSets::NeighbourAttrs::Lladdr
1241
654
  def lladdr: () -> ::String
1242
655
 
1243
656
  # @rbs return: ::Integer
1244
657
  # @return [Integer]
1245
- # @see AttributeSets::NeighbourAttrs::Probes
1246
658
  def probes: () -> ::Integer
1247
659
 
1248
660
  # @rbs return: ::Integer
1249
661
  # @return [Integer]
1250
- # @see AttributeSets::NeighbourAttrs::Vlan
1251
662
  def vlan: () -> ::Integer
1252
663
 
1253
664
  # @rbs return: ::Integer
1254
665
  # @return [Integer]
1255
- # @see AttributeSets::NeighbourAttrs::Port
1256
666
  def port: () -> ::Integer
1257
667
 
1258
668
  # @rbs return: ::Integer
1259
669
  # @return [Integer]
1260
- # @see AttributeSets::NeighbourAttrs::Vni
1261
670
  def vni: () -> ::Integer
1262
671
 
1263
672
  # @rbs return: ::Integer
1264
673
  # @return [Integer]
1265
- # @see AttributeSets::NeighbourAttrs::Ifindex
1266
674
  def ifindex: () -> ::Integer
1267
675
 
1268
676
  # @rbs return: ::Integer
1269
677
  # @return [Integer]
1270
- # @see AttributeSets::NeighbourAttrs::Master
1271
678
  def master: () -> ::Integer
1272
679
 
1273
680
  # @rbs return: ::Integer
1274
681
  # @return [Integer]
1275
- # @see AttributeSets::NeighbourAttrs::Protocol
1276
682
  def protocol: () -> ::Integer
1277
683
 
1278
684
  # @rbs return: ::Integer
1279
685
  # @return [Integer]
1280
- # @see AttributeSets::NeighbourAttrs::NhId
1281
686
  def nh_id: () -> ::Integer
1282
687
 
1283
688
  # @rbs return: ::String
1284
689
  # @return [String]
1285
- # @see AttributeSets::NeighbourAttrs::FdbExtAttrs
1286
690
  def fdb_ext_attrs: () -> ::String
1287
691
 
1288
692
  # Known flags are defined in {Flags::NtfExtFlags}.
1289
693
  # @rbs return: ::Integer
1290
694
  # @return [Integer]
1291
- # @see AttributeSets::NeighbourAttrs::FlagsExt
1292
695
  def flags_ext: () -> ::Integer
1293
696
  end
1294
697
 
1295
698
  # Remove an existing neighbour entry
1296
- class DoDelneighRequest < ::Nl::Raw::Message
699
+ class DoDelneighRequest < ::Nl::Message
1297
700
  TYPE: ::Integer
1298
701
 
1299
702
  FIXED_HEADER: untyped
@@ -1302,6 +705,19 @@ module Nl
1302
705
 
1303
706
  ATTRIBUTES: untyped
1304
707
 
708
+ include ATTRIBUTE_SET::Definitions
709
+
710
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
711
+
712
+ # @private
713
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
714
+
715
+ # Decodes a message payload from the decoder into a new instance.
716
+ # @rbs (::Nl::Decoder decoder) -> instance
717
+ def self.decode: (::Nl::Decoder decoder) -> instance
718
+
719
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
720
+
1305
721
  # @rbs return: ::Integer
1306
722
  # @return [Integer]
1307
723
  def ndm_family: () -> ::Integer
@@ -1324,17 +740,15 @@ module Nl
1324
740
 
1325
741
  # @rbs return: ::String
1326
742
  # @return [String]
1327
- # @see AttributeSets::NeighbourAttrs::Dst
1328
743
  def dst: () -> ::String
1329
744
 
1330
745
  # @rbs return: ::Integer
1331
746
  # @return [Integer]
1332
- # @see AttributeSets::NeighbourAttrs::Ifindex
1333
747
  def ifindex: () -> ::Integer
1334
748
  end
1335
749
 
1336
750
  # Get or dump neighbour entries
1337
- class DoGetneighRequest < ::Nl::Raw::Message
751
+ class DoGetneighRequest < ::Nl::Message
1338
752
  TYPE: ::Integer
1339
753
 
1340
754
  FIXED_HEADER: untyped
@@ -1343,6 +757,19 @@ module Nl
1343
757
 
1344
758
  ATTRIBUTES: untyped
1345
759
 
760
+ include ATTRIBUTE_SET::Definitions
761
+
762
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
763
+
764
+ # @private
765
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
766
+
767
+ # Decodes a message payload from the decoder into a new instance.
768
+ # @rbs (::Nl::Decoder decoder) -> instance
769
+ def self.decode: (::Nl::Decoder decoder) -> instance
770
+
771
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
772
+
1346
773
  # @rbs return: ::Integer
1347
774
  # @return [Integer]
1348
775
  def ndm_family: () -> ::Integer
@@ -1365,12 +792,11 @@ module Nl
1365
792
 
1366
793
  # @rbs return: ::String
1367
794
  # @return [String]
1368
- # @see AttributeSets::NeighbourAttrs::Dst
1369
795
  def dst: () -> ::String
1370
796
  end
1371
797
 
1372
798
  # Get or dump neighbour entries
1373
- class DoGetneighReply < ::Nl::Raw::Message
799
+ class DoGetneighReply < ::Nl::Message
1374
800
  TYPE: ::Integer
1375
801
 
1376
802
  FIXED_HEADER: untyped
@@ -1379,6 +805,19 @@ module Nl
1379
805
 
1380
806
  ATTRIBUTES: untyped
1381
807
 
808
+ include ATTRIBUTE_SET::Definitions
809
+
810
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
811
+
812
+ # @private
813
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
814
+
815
+ # Decodes a message payload from the decoder into a new instance.
816
+ # @rbs (::Nl::Decoder decoder) -> instance
817
+ def self.decode: (::Nl::Decoder decoder) -> instance
818
+
819
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
820
+
1382
821
  # @rbs return: ::Integer
1383
822
  # @return [Integer]
1384
823
  def ndm_family: () -> ::Integer
@@ -1401,68 +840,56 @@ module Nl
1401
840
 
1402
841
  # @rbs return: ::String
1403
842
  # @return [String]
1404
- # @see AttributeSets::NeighbourAttrs::Dst
1405
843
  def dst: () -> ::String
1406
844
 
1407
845
  # @rbs return: ::String
1408
846
  # @return [String]
1409
- # @see AttributeSets::NeighbourAttrs::Lladdr
1410
847
  def lladdr: () -> ::String
1411
848
 
1412
849
  # @rbs return: ::Integer
1413
850
  # @return [Integer]
1414
- # @see AttributeSets::NeighbourAttrs::Probes
1415
851
  def probes: () -> ::Integer
1416
852
 
1417
853
  # @rbs return: ::Integer
1418
854
  # @return [Integer]
1419
- # @see AttributeSets::NeighbourAttrs::Vlan
1420
855
  def vlan: () -> ::Integer
1421
856
 
1422
857
  # @rbs return: ::Integer
1423
858
  # @return [Integer]
1424
- # @see AttributeSets::NeighbourAttrs::Port
1425
859
  def port: () -> ::Integer
1426
860
 
1427
861
  # @rbs return: ::Integer
1428
862
  # @return [Integer]
1429
- # @see AttributeSets::NeighbourAttrs::Vni
1430
863
  def vni: () -> ::Integer
1431
864
 
1432
865
  # @rbs return: ::Integer
1433
866
  # @return [Integer]
1434
- # @see AttributeSets::NeighbourAttrs::Ifindex
1435
867
  def ifindex: () -> ::Integer
1436
868
 
1437
869
  # @rbs return: ::Integer
1438
870
  # @return [Integer]
1439
- # @see AttributeSets::NeighbourAttrs::Master
1440
871
  def master: () -> ::Integer
1441
872
 
1442
873
  # @rbs return: ::Integer
1443
874
  # @return [Integer]
1444
- # @see AttributeSets::NeighbourAttrs::Protocol
1445
875
  def protocol: () -> ::Integer
1446
876
 
1447
877
  # @rbs return: ::Integer
1448
878
  # @return [Integer]
1449
- # @see AttributeSets::NeighbourAttrs::NhId
1450
879
  def nh_id: () -> ::Integer
1451
880
 
1452
881
  # @rbs return: ::String
1453
882
  # @return [String]
1454
- # @see AttributeSets::NeighbourAttrs::FdbExtAttrs
1455
883
  def fdb_ext_attrs: () -> ::String
1456
884
 
1457
885
  # Known flags are defined in {Flags::NtfExtFlags}.
1458
886
  # @rbs return: ::Integer
1459
887
  # @return [Integer]
1460
- # @see AttributeSets::NeighbourAttrs::FlagsExt
1461
888
  def flags_ext: () -> ::Integer
1462
889
  end
1463
890
 
1464
891
  # Get or dump neighbour entries
1465
- class DumpGetneighRequest < ::Nl::Raw::Message
892
+ class DumpGetneighRequest < ::Nl::Message
1466
893
  TYPE: ::Integer
1467
894
 
1468
895
  FIXED_HEADER: untyped
@@ -1471,6 +898,19 @@ module Nl
1471
898
 
1472
899
  ATTRIBUTES: untyped
1473
900
 
901
+ include ATTRIBUTE_SET::Definitions
902
+
903
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
904
+
905
+ # @private
906
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
907
+
908
+ # Decodes a message payload from the decoder into a new instance.
909
+ # @rbs (::Nl::Decoder decoder) -> instance
910
+ def self.decode: (::Nl::Decoder decoder) -> instance
911
+
912
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
913
+
1474
914
  # @rbs return: ::Integer
1475
915
  # @return [Integer]
1476
916
  def ndm_family: () -> ::Integer
@@ -1493,17 +933,15 @@ module Nl
1493
933
 
1494
934
  # @rbs return: ::Integer
1495
935
  # @return [Integer]
1496
- # @see AttributeSets::NeighbourAttrs::Ifindex
1497
936
  def ifindex: () -> ::Integer
1498
937
 
1499
938
  # @rbs return: ::Integer
1500
939
  # @return [Integer]
1501
- # @see AttributeSets::NeighbourAttrs::Master
1502
940
  def master: () -> ::Integer
1503
941
  end
1504
942
 
1505
943
  # Get or dump neighbour entries
1506
- class DumpGetneighReply < ::Nl::Raw::Message
944
+ class DumpGetneighReply < ::Nl::Message
1507
945
  TYPE: ::Integer
1508
946
 
1509
947
  FIXED_HEADER: untyped
@@ -1512,6 +950,19 @@ module Nl
1512
950
 
1513
951
  ATTRIBUTES: untyped
1514
952
 
953
+ include ATTRIBUTE_SET::Definitions
954
+
955
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
956
+
957
+ # @private
958
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
959
+
960
+ # Decodes a message payload from the decoder into a new instance.
961
+ # @rbs (::Nl::Decoder decoder) -> instance
962
+ def self.decode: (::Nl::Decoder decoder) -> instance
963
+
964
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
965
+
1515
966
  # @rbs return: ::Integer
1516
967
  # @return [Integer]
1517
968
  def ndm_family: () -> ::Integer
@@ -1534,68 +985,56 @@ module Nl
1534
985
 
1535
986
  # @rbs return: ::String
1536
987
  # @return [String]
1537
- # @see AttributeSets::NeighbourAttrs::Dst
1538
988
  def dst: () -> ::String
1539
989
 
1540
990
  # @rbs return: ::String
1541
991
  # @return [String]
1542
- # @see AttributeSets::NeighbourAttrs::Lladdr
1543
992
  def lladdr: () -> ::String
1544
993
 
1545
994
  # @rbs return: ::Integer
1546
995
  # @return [Integer]
1547
- # @see AttributeSets::NeighbourAttrs::Probes
1548
996
  def probes: () -> ::Integer
1549
997
 
1550
998
  # @rbs return: ::Integer
1551
999
  # @return [Integer]
1552
- # @see AttributeSets::NeighbourAttrs::Vlan
1553
1000
  def vlan: () -> ::Integer
1554
1001
 
1555
1002
  # @rbs return: ::Integer
1556
1003
  # @return [Integer]
1557
- # @see AttributeSets::NeighbourAttrs::Port
1558
1004
  def port: () -> ::Integer
1559
1005
 
1560
1006
  # @rbs return: ::Integer
1561
1007
  # @return [Integer]
1562
- # @see AttributeSets::NeighbourAttrs::Vni
1563
1008
  def vni: () -> ::Integer
1564
1009
 
1565
1010
  # @rbs return: ::Integer
1566
1011
  # @return [Integer]
1567
- # @see AttributeSets::NeighbourAttrs::Ifindex
1568
1012
  def ifindex: () -> ::Integer
1569
1013
 
1570
1014
  # @rbs return: ::Integer
1571
1015
  # @return [Integer]
1572
- # @see AttributeSets::NeighbourAttrs::Master
1573
1016
  def master: () -> ::Integer
1574
1017
 
1575
1018
  # @rbs return: ::Integer
1576
1019
  # @return [Integer]
1577
- # @see AttributeSets::NeighbourAttrs::Protocol
1578
1020
  def protocol: () -> ::Integer
1579
1021
 
1580
1022
  # @rbs return: ::Integer
1581
1023
  # @return [Integer]
1582
- # @see AttributeSets::NeighbourAttrs::NhId
1583
1024
  def nh_id: () -> ::Integer
1584
1025
 
1585
1026
  # @rbs return: ::String
1586
1027
  # @return [String]
1587
- # @see AttributeSets::NeighbourAttrs::FdbExtAttrs
1588
1028
  def fdb_ext_attrs: () -> ::String
1589
1029
 
1590
1030
  # Known flags are defined in {Flags::NtfExtFlags}.
1591
1031
  # @rbs return: ::Integer
1592
1032
  # @return [Integer]
1593
- # @see AttributeSets::NeighbourAttrs::FlagsExt
1594
1033
  def flags_ext: () -> ::Integer
1595
1034
  end
1596
1035
 
1597
1036
  # Get or dump neighbour tables
1598
- class DumpGetneightblRequest < ::Nl::Raw::Message
1037
+ class DumpGetneightblRequest < ::Nl::Message
1599
1038
  TYPE: ::Integer
1600
1039
 
1601
1040
  FIXED_HEADER: untyped
@@ -1604,13 +1043,26 @@ module Nl
1604
1043
 
1605
1044
  ATTRIBUTES: untyped
1606
1045
 
1046
+ include ATTRIBUTE_SET::Definitions
1047
+
1048
+ def initialize: (untyped family, ?untyped attributes) -> untyped
1049
+
1050
+ # @private
1051
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
1052
+
1053
+ # Decodes a message payload from the decoder into a new instance.
1054
+ # @rbs (::Nl::Decoder decoder) -> instance
1055
+ def self.decode: (::Nl::Decoder decoder) -> instance
1056
+
1057
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
1058
+
1607
1059
  # @rbs return: ::Integer
1608
1060
  # @return [Integer]
1609
1061
  def family: () -> ::Integer
1610
1062
  end
1611
1063
 
1612
1064
  # Get or dump neighbour tables
1613
- class DumpGetneightblReply < ::Nl::Raw::Message
1065
+ class DumpGetneightblReply < ::Nl::Message
1614
1066
  TYPE: ::Integer
1615
1067
 
1616
1068
  FIXED_HEADER: untyped
@@ -1619,53 +1071,58 @@ module Nl
1619
1071
 
1620
1072
  ATTRIBUTES: untyped
1621
1073
 
1074
+ include ATTRIBUTE_SET::Definitions
1075
+
1076
+ def initialize: (untyped family, ?untyped attributes) -> untyped
1077
+
1078
+ # @private
1079
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
1080
+
1081
+ # Decodes a message payload from the decoder into a new instance.
1082
+ # @rbs (::Nl::Decoder decoder) -> instance
1083
+ def self.decode: (::Nl::Decoder decoder) -> instance
1084
+
1085
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
1086
+
1622
1087
  # @rbs return: ::Integer
1623
1088
  # @return [Integer]
1624
1089
  def family: () -> ::Integer
1625
1090
 
1626
1091
  # @rbs return: ::String
1627
1092
  # @return [String]
1628
- # @see AttributeSets::NdtAttrs::Name
1629
1093
  def name: () -> ::String
1630
1094
 
1631
1095
  # @rbs return: ::Integer
1632
1096
  # @return [Integer]
1633
- # @see AttributeSets::NdtAttrs::Thresh1
1634
1097
  def thresh1: () -> ::Integer
1635
1098
 
1636
1099
  # @rbs return: ::Integer
1637
1100
  # @return [Integer]
1638
- # @see AttributeSets::NdtAttrs::Thresh2
1639
1101
  def thresh2: () -> ::Integer
1640
1102
 
1641
1103
  # @rbs return: ::Integer
1642
1104
  # @return [Integer]
1643
- # @see AttributeSets::NdtAttrs::Thresh3
1644
1105
  def thresh3: () -> ::Integer
1645
1106
 
1646
1107
  # @rbs return: Structs::NdtConfig
1647
1108
  # @return [Structs::NdtConfig]
1648
- # @see AttributeSets::NdtAttrs::Config
1649
1109
  def config: () -> Structs::NdtConfig
1650
1110
 
1651
1111
  # @rbs return: AttributeSets::NdtpaAttrs
1652
1112
  # @return [AttributeSets::NdtpaAttrs]
1653
- # @see AttributeSets::NdtAttrs::Parms
1654
1113
  def parms: () -> AttributeSets::NdtpaAttrs
1655
1114
 
1656
1115
  # @rbs return: Structs::NdtStats
1657
1116
  # @return [Structs::NdtStats]
1658
- # @see AttributeSets::NdtAttrs::Stats
1659
1117
  def stats: () -> Structs::NdtStats
1660
1118
 
1661
1119
  # @rbs return: ::Integer
1662
1120
  # @return [Integer]
1663
- # @see AttributeSets::NdtAttrs::GcInterval
1664
1121
  def gc_interval: () -> ::Integer
1665
1122
  end
1666
1123
 
1667
1124
  # Set neighbour tables
1668
- class DoSetneightblRequest < ::Nl::Raw::Message
1125
+ class DoSetneightblRequest < ::Nl::Message
1669
1126
  TYPE: ::Integer
1670
1127
 
1671
1128
  FIXED_HEADER: untyped
@@ -1674,45 +1131,52 @@ module Nl
1674
1131
 
1675
1132
  ATTRIBUTES: untyped
1676
1133
 
1134
+ include ATTRIBUTE_SET::Definitions
1135
+
1136
+ def initialize: (untyped family, ?untyped attributes) -> untyped
1137
+
1138
+ # @private
1139
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
1140
+
1141
+ # Decodes a message payload from the decoder into a new instance.
1142
+ # @rbs (::Nl::Decoder decoder) -> instance
1143
+ def self.decode: (::Nl::Decoder decoder) -> instance
1144
+
1145
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
1146
+
1677
1147
  # @rbs return: ::Integer
1678
1148
  # @return [Integer]
1679
1149
  def family: () -> ::Integer
1680
1150
 
1681
1151
  # @rbs return: ::String
1682
1152
  # @return [String]
1683
- # @see AttributeSets::NdtAttrs::Name
1684
1153
  def name: () -> ::String
1685
1154
 
1686
1155
  # @rbs return: ::Integer
1687
1156
  # @return [Integer]
1688
- # @see AttributeSets::NdtAttrs::Thresh1
1689
1157
  def thresh1: () -> ::Integer
1690
1158
 
1691
1159
  # @rbs return: ::Integer
1692
1160
  # @return [Integer]
1693
- # @see AttributeSets::NdtAttrs::Thresh2
1694
1161
  def thresh2: () -> ::Integer
1695
1162
 
1696
1163
  # @rbs return: ::Integer
1697
1164
  # @return [Integer]
1698
- # @see AttributeSets::NdtAttrs::Thresh3
1699
1165
  def thresh3: () -> ::Integer
1700
1166
 
1701
1167
  # @rbs return: AttributeSets::NdtpaAttrs
1702
1168
  # @return [AttributeSets::NdtpaAttrs]
1703
- # @see AttributeSets::NdtAttrs::Parms
1704
1169
  def parms: () -> AttributeSets::NdtpaAttrs
1705
1170
 
1706
1171
  # @rbs return: ::Integer
1707
1172
  # @return [Integer]
1708
- # @see AttributeSets::NdtAttrs::GcInterval
1709
1173
  def gc_interval: () -> ::Integer
1710
1174
  end
1711
1175
  end
1712
1176
 
1713
1177
  module Notifications
1714
1178
  # Notify a neighbour deletion
1715
- class DelneighNtf < ::Nl::Raw::Message
1179
+ class DelneighNtf < ::Nl::Message
1716
1180
  TYPE: ::Integer
1717
1181
 
1718
1182
  FIXED_HEADER: untyped
@@ -1721,6 +1185,19 @@ module Nl
1721
1185
 
1722
1186
  ATTRIBUTES: untyped
1723
1187
 
1188
+ include ATTRIBUTE_SET::Definitions
1189
+
1190
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
1191
+
1192
+ # @private
1193
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
1194
+
1195
+ # Decodes a message payload from the decoder into a new instance.
1196
+ # @rbs (::Nl::Decoder decoder) -> instance
1197
+ def self.decode: (::Nl::Decoder decoder) -> instance
1198
+
1199
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
1200
+
1724
1201
  # @rbs return: ::Integer
1725
1202
  # @return [Integer]
1726
1203
  def ndm_family: () -> ::Integer
@@ -1743,68 +1220,56 @@ module Nl
1743
1220
 
1744
1221
  # @rbs return: ::String
1745
1222
  # @return [String]
1746
- # @see AttributeSets::NeighbourAttrs::Dst
1747
1223
  def dst: () -> ::String
1748
1224
 
1749
1225
  # @rbs return: ::String
1750
1226
  # @return [String]
1751
- # @see AttributeSets::NeighbourAttrs::Lladdr
1752
1227
  def lladdr: () -> ::String
1753
1228
 
1754
1229
  # @rbs return: ::Integer
1755
1230
  # @return [Integer]
1756
- # @see AttributeSets::NeighbourAttrs::Probes
1757
1231
  def probes: () -> ::Integer
1758
1232
 
1759
1233
  # @rbs return: ::Integer
1760
1234
  # @return [Integer]
1761
- # @see AttributeSets::NeighbourAttrs::Vlan
1762
1235
  def vlan: () -> ::Integer
1763
1236
 
1764
1237
  # @rbs return: ::Integer
1765
1238
  # @return [Integer]
1766
- # @see AttributeSets::NeighbourAttrs::Port
1767
1239
  def port: () -> ::Integer
1768
1240
 
1769
1241
  # @rbs return: ::Integer
1770
1242
  # @return [Integer]
1771
- # @see AttributeSets::NeighbourAttrs::Vni
1772
1243
  def vni: () -> ::Integer
1773
1244
 
1774
1245
  # @rbs return: ::Integer
1775
1246
  # @return [Integer]
1776
- # @see AttributeSets::NeighbourAttrs::Ifindex
1777
1247
  def ifindex: () -> ::Integer
1778
1248
 
1779
1249
  # @rbs return: ::Integer
1780
1250
  # @return [Integer]
1781
- # @see AttributeSets::NeighbourAttrs::Master
1782
1251
  def master: () -> ::Integer
1783
1252
 
1784
1253
  # @rbs return: ::Integer
1785
1254
  # @return [Integer]
1786
- # @see AttributeSets::NeighbourAttrs::Protocol
1787
1255
  def protocol: () -> ::Integer
1788
1256
 
1789
1257
  # @rbs return: ::Integer
1790
1258
  # @return [Integer]
1791
- # @see AttributeSets::NeighbourAttrs::NhId
1792
1259
  def nh_id: () -> ::Integer
1793
1260
 
1794
1261
  # @rbs return: ::String
1795
1262
  # @return [String]
1796
- # @see AttributeSets::NeighbourAttrs::FdbExtAttrs
1797
1263
  def fdb_ext_attrs: () -> ::String
1798
1264
 
1799
1265
  # Known flags are defined in {Flags::NtfExtFlags}.
1800
1266
  # @rbs return: ::Integer
1801
1267
  # @return [Integer]
1802
- # @see AttributeSets::NeighbourAttrs::FlagsExt
1803
1268
  def flags_ext: () -> ::Integer
1804
1269
  end
1805
1270
 
1806
1271
  # Notify a neighbour creation
1807
- class NewneighNtf < ::Nl::Raw::Message
1272
+ class NewneighNtf < ::Nl::Message
1808
1273
  TYPE: ::Integer
1809
1274
 
1810
1275
  FIXED_HEADER: untyped
@@ -1813,6 +1278,19 @@ module Nl
1813
1278
 
1814
1279
  ATTRIBUTES: untyped
1815
1280
 
1281
+ include ATTRIBUTE_SET::Definitions
1282
+
1283
+ def initialize: (untyped ndm_family, untyped ndm_ifindex, untyped ndm_state, untyped ndm_flags, untyped ndm_type, ?untyped attributes) -> untyped
1284
+
1285
+ # @private
1286
+ def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
1287
+
1288
+ # Decodes a message payload from the decoder into a new instance.
1289
+ # @rbs (::Nl::Decoder decoder) -> instance
1290
+ def self.decode: (::Nl::Decoder decoder) -> instance
1291
+
1292
+ def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
1293
+
1816
1294
  # @rbs return: ::Integer
1817
1295
  # @return [Integer]
1818
1296
  def ndm_family: () -> ::Integer
@@ -1835,63 +1313,51 @@ module Nl
1835
1313
 
1836
1314
  # @rbs return: ::String
1837
1315
  # @return [String]
1838
- # @see AttributeSets::NeighbourAttrs::Dst
1839
1316
  def dst: () -> ::String
1840
1317
 
1841
1318
  # @rbs return: ::String
1842
1319
  # @return [String]
1843
- # @see AttributeSets::NeighbourAttrs::Lladdr
1844
1320
  def lladdr: () -> ::String
1845
1321
 
1846
1322
  # @rbs return: ::Integer
1847
1323
  # @return [Integer]
1848
- # @see AttributeSets::NeighbourAttrs::Probes
1849
1324
  def probes: () -> ::Integer
1850
1325
 
1851
1326
  # @rbs return: ::Integer
1852
1327
  # @return [Integer]
1853
- # @see AttributeSets::NeighbourAttrs::Vlan
1854
1328
  def vlan: () -> ::Integer
1855
1329
 
1856
1330
  # @rbs return: ::Integer
1857
1331
  # @return [Integer]
1858
- # @see AttributeSets::NeighbourAttrs::Port
1859
1332
  def port: () -> ::Integer
1860
1333
 
1861
1334
  # @rbs return: ::Integer
1862
1335
  # @return [Integer]
1863
- # @see AttributeSets::NeighbourAttrs::Vni
1864
1336
  def vni: () -> ::Integer
1865
1337
 
1866
1338
  # @rbs return: ::Integer
1867
1339
  # @return [Integer]
1868
- # @see AttributeSets::NeighbourAttrs::Ifindex
1869
1340
  def ifindex: () -> ::Integer
1870
1341
 
1871
1342
  # @rbs return: ::Integer
1872
1343
  # @return [Integer]
1873
- # @see AttributeSets::NeighbourAttrs::Master
1874
1344
  def master: () -> ::Integer
1875
1345
 
1876
1346
  # @rbs return: ::Integer
1877
1347
  # @return [Integer]
1878
- # @see AttributeSets::NeighbourAttrs::Protocol
1879
1348
  def protocol: () -> ::Integer
1880
1349
 
1881
1350
  # @rbs return: ::Integer
1882
1351
  # @return [Integer]
1883
- # @see AttributeSets::NeighbourAttrs::NhId
1884
1352
  def nh_id: () -> ::Integer
1885
1353
 
1886
1354
  # @rbs return: ::String
1887
1355
  # @return [String]
1888
- # @see AttributeSets::NeighbourAttrs::FdbExtAttrs
1889
1356
  def fdb_ext_attrs: () -> ::String
1890
1357
 
1891
1358
  # Known flags are defined in {Flags::NtfExtFlags}.
1892
1359
  # @rbs return: ::Integer
1893
1360
  # @return [Integer]
1894
- # @see AttributeSets::NeighbourAttrs::FlagsExt
1895
1361
  def flags_ext: () -> ::Integer
1896
1362
  end
1897
1363
  end