nl-linux 0.2.4 → 0.3.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +3 -0
  3. data/CHANGELOG.md +2 -0
  4. data/Rakefile +13 -3
  5. data/generated/nl/linux/binder.rb +80 -0
  6. data/generated/nl/linux/conntrack.rb +39 -2
  7. data/generated/nl/linux/dev_energymodel.rb +106 -0
  8. data/generated/nl/linux/devlink.rb +751 -0
  9. data/generated/nl/linux/dpll.rb +712 -55
  10. data/generated/nl/linux/drm_ras.rb +87 -0
  11. data/generated/nl/linux/ethtool.rb +1569 -259
  12. data/generated/nl/linux/fou.rb +82 -13
  13. data/generated/nl/linux/handshake.rb +92 -0
  14. data/generated/nl/linux/lockd.rb +50 -0
  15. data/generated/nl/linux/mptcp_pm.rb +159 -0
  16. data/generated/nl/linux/net_shaper.rb +123 -0
  17. data/generated/nl/linux/netdev.rb +374 -0
  18. data/generated/nl/linux/nfsd.rb +316 -6
  19. data/generated/nl/linux/nftables.rb +414 -25
  20. data/generated/nl/linux/nl80211.rb +81 -22
  21. data/generated/nl/linux/nlctrl.rb +59 -8
  22. data/generated/nl/linux/ovpn.rb +180 -0
  23. data/generated/nl/linux/ovs_datapath.rb +55 -6
  24. data/generated/nl/linux/ovs_flow.rb +63 -20
  25. data/generated/nl/linux/ovs_packet.rb +115 -4
  26. data/generated/nl/linux/ovs_vport.rb +55 -6
  27. data/generated/nl/linux/psp.rb +257 -0
  28. data/generated/nl/linux/rt_addr.rb +69 -14
  29. data/generated/nl/linux/rt_link.rb +381 -47
  30. data/generated/nl/linux/rt_neigh.rb +227 -16
  31. data/generated/nl/linux/rt_route.rb +92 -49
  32. data/generated/nl/linux/rt_rule.rb +300 -11
  33. data/generated/nl/linux/sunrpc_cache.rb +130 -0
  34. data/generated/nl/linux/tc.rb +161 -52
  35. data/generated/nl/linux/tcp_metrics.rb +69 -12
  36. data/generated/nl/linux/team.rb +80 -0
  37. data/generated/nl/linux/wireguard.rb +99 -7
  38. data/lib/nl/linux/version.rb +1 -1
  39. metadata +11 -9
@@ -1,4 +1,6 @@
1
1
  # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2
+ #
3
+ # This file is based on Documentation/netlink/specs/ethtool.yaml from Linux v7.2.
2
4
  #--
3
5
  # frozen_string_literal: true
4
6
  # rbs_inline: enabled
@@ -9,6 +11,7 @@ module Nl; module Linux
9
11
  class Ethtool < ::Nl::Family
10
12
  NAME = "ethtool"
11
13
  PROTOCOL = Ractor.make_shareable(::Nl::Protocols::Genl.new("ethtool"))
14
+ MCAST_GROUPS = Ractor.make_shareable({:"monitor" => ::Nl::McastGroup.new("monitor", nil)}) #: Hash[::Symbol, ::Nl::McastGroup]
12
15
  module Structs
13
16
  end
14
17
  module AttributeSets
@@ -3575,7 +3578,7 @@ class Ethtool < ::Nl::Family
3575
3578
  def modes; attributes[:"modes"]&.value; end
3576
3579
  # Gets the value of `sopass` attribute in the message.
3577
3580
  #--
3578
- # @rbs return: untyped
3581
+ # @rbs return: ::String
3579
3582
  def sopass; attributes[:"sopass"]&.value; end
3580
3583
  end
3581
3584
  # Get WOL params.
@@ -3605,7 +3608,7 @@ class Ethtool < ::Nl::Family
3605
3608
  def modes; attributes[:"modes"]&.value; end
3606
3609
  # Gets the value of `sopass` attribute in the message.
3607
3610
  #--
3608
- # @rbs return: untyped
3611
+ # @rbs return: ::String
3609
3612
  def sopass; attributes[:"sopass"]&.value; end
3610
3613
  end
3611
3614
  # Set WOL params.
@@ -3624,7 +3627,7 @@ class Ethtool < ::Nl::Family
3624
3627
  def modes; attributes[:"modes"]&.value; end
3625
3628
  # Gets the value of `sopass` attribute in the message.
3626
3629
  #--
3627
- # @rbs return: untyped
3630
+ # @rbs return: ::String
3628
3631
  def sopass; attributes[:"sopass"]&.value; end
3629
3632
  end
3630
3633
  # Get features.
@@ -5239,7 +5242,7 @@ class Ethtool < ::Nl::Family
5239
5242
  def header; attributes[:"header"]&.value; end
5240
5243
  # Gets the value of `data` attribute in the message.
5241
5244
  #--
5242
- # @rbs return: untyped
5245
+ # @rbs return: ::String
5243
5246
  def data; attributes[:"data"]&.value; end
5244
5247
  end
5245
5248
  # Get module EEPROM params.
@@ -5285,7 +5288,7 @@ class Ethtool < ::Nl::Family
5285
5288
  def header; attributes[:"header"]&.value; end
5286
5289
  # Gets the value of `data` attribute in the message.
5287
5290
  #--
5288
- # @rbs return: untyped
5291
+ # @rbs return: ::String
5289
5292
  def data; attributes[:"data"]&.value; end
5290
5293
  end
5291
5294
  # Get statistics.
@@ -5721,11 +5724,11 @@ class Ethtool < ::Nl::Family
5721
5724
  def hfunc; attributes[:"hfunc"]&.value; end
5722
5725
  # Gets the value of `indir` attribute in the message.
5723
5726
  #--
5724
- # @rbs return: untyped
5727
+ # @rbs return: ::String
5725
5728
  def indir; attributes[:"indir"]&.value; end
5726
5729
  # Gets the value of `hkey` attribute in the message.
5727
5730
  #--
5728
- # @rbs return: untyped
5731
+ # @rbs return: ::String
5729
5732
  def hkey; attributes[:"hkey"]&.value; end
5730
5733
  # Gets the value of `input-xfrm` attribute in the message.
5731
5734
  #--
@@ -5771,11 +5774,11 @@ class Ethtool < ::Nl::Family
5771
5774
  def hfunc; attributes[:"hfunc"]&.value; end
5772
5775
  # Gets the value of `indir` attribute in the message.
5773
5776
  #--
5774
- # @rbs return: untyped
5777
+ # @rbs return: ::String
5775
5778
  def indir; attributes[:"indir"]&.value; end
5776
5779
  # Gets the value of `hkey` attribute in the message.
5777
5780
  #--
5778
- # @rbs return: untyped
5781
+ # @rbs return: ::String
5779
5782
  def hkey; attributes[:"hkey"]&.value; end
5780
5783
  # Gets the value of `input-xfrm` attribute in the message.
5781
5784
  #--
@@ -6461,11 +6464,11 @@ class Ethtool < ::Nl::Family
6461
6464
  def hfunc; attributes[:"hfunc"]&.value; end
6462
6465
  # Gets the value of `indir` attribute in the message.
6463
6466
  #--
6464
- # @rbs return: untyped
6467
+ # @rbs return: ::String
6465
6468
  def indir; attributes[:"indir"]&.value; end
6466
6469
  # Gets the value of `hkey` attribute in the message.
6467
6470
  #--
6468
- # @rbs return: untyped
6471
+ # @rbs return: ::String
6469
6472
  def hkey; attributes[:"hkey"]&.value; end
6470
6473
  # Gets the value of `input-xfrm` attribute in the message.
6471
6474
  #--
@@ -6496,11 +6499,11 @@ class Ethtool < ::Nl::Family
6496
6499
  def hfunc; attributes[:"hfunc"]&.value; end
6497
6500
  # Gets the value of `indir` attribute in the message.
6498
6501
  #--
6499
- # @rbs return: untyped
6502
+ # @rbs return: ::String
6500
6503
  def indir; attributes[:"indir"]&.value; end
6501
6504
  # Gets the value of `hkey` attribute in the message.
6502
6505
  #--
6503
- # @rbs return: untyped
6506
+ # @rbs return: ::String
6504
6507
  def hkey; attributes[:"hkey"]&.value; end
6505
6508
  # Gets the value of `input-xfrm` attribute in the message.
6506
6509
  #--
@@ -6527,11 +6530,11 @@ class Ethtool < ::Nl::Family
6527
6530
  def hfunc; attributes[:"hfunc"]&.value; end
6528
6531
  # Gets the value of `indir` attribute in the message.
6529
6532
  #--
6530
- # @rbs return: untyped
6533
+ # @rbs return: ::String
6531
6534
  def indir; attributes[:"indir"]&.value; end
6532
6535
  # Gets the value of `hkey` attribute in the message.
6533
6536
  #--
6534
- # @rbs return: untyped
6537
+ # @rbs return: ::String
6535
6538
  def hkey; attributes[:"hkey"]&.value; end
6536
6539
  # Gets the value of `input-xfrm` attribute in the message.
6537
6540
  #--
@@ -6654,248 +6657,1062 @@ class Ethtool < ::Nl::Family
6654
6657
  def link; attributes[:"link"]&.value; end
6655
6658
  end
6656
6659
  end
6657
- # Get string set from the kernel.
6658
- #--
6659
- # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> Messages::DoStrsetGetReply
6660
- def do_strset_get(**args)
6661
- exchange_message(:"do", Messages::DoStrsetGetRequest, Messages::DoStrsetGetReply, args)
6662
- end
6663
- # Get string set from the kernel.
6664
- #--
6665
- # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> Enumerable[Messages::DumpStrsetGetReply]
6666
- # | (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) { (Messages::DumpStrsetGetReply) -> void } -> void
6667
- def dump_strset_get(**args, &block)
6668
- exchange_message(:"dump", Messages::DumpStrsetGetRequest, Messages::DumpStrsetGetReply, args, &block)
6669
- end
6670
- # Get link info.
6671
- #--
6672
- # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkinfoGetReply
6673
- def do_linkinfo_get(**args)
6674
- exchange_message(:"do", Messages::DoLinkinfoGetRequest, Messages::DoLinkinfoGetReply, args)
6675
- end
6676
- # Get link info.
6677
- #--
6678
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkinfoGetReply]
6679
- # | (?header: AttributeSets::Header) { (Messages::DumpLinkinfoGetReply) -> void } -> void
6680
- def dump_linkinfo_get(**args, &block)
6681
- exchange_message(:"dump", Messages::DumpLinkinfoGetRequest, Messages::DumpLinkinfoGetReply, args, &block)
6682
- end
6683
- # Set link info.
6684
- #--
6685
- # @rbs (?header: AttributeSets::Header, ?port: ::Integer, ?phyaddr: ::Integer, ?tp_mdix: ::Integer, ?tp_mdix_ctrl: ::Integer, ?transceiver: ::Integer) -> void
6686
- def do_linkinfo_set(**args)
6687
- exchange_message(:"do", Messages::DoLinkinfoSetRequest, nil, args)
6688
- end
6689
- # Get link modes.
6690
- #--
6691
- # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkmodesGetReply
6692
- def do_linkmodes_get(**args)
6693
- exchange_message(:"do", Messages::DoLinkmodesGetRequest, Messages::DoLinkmodesGetReply, args)
6694
- end
6695
- # Get link modes.
6696
- #--
6697
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkmodesGetReply]
6698
- # | (?header: AttributeSets::Header) { (Messages::DumpLinkmodesGetReply) -> void } -> void
6699
- def dump_linkmodes_get(**args, &block)
6700
- exchange_message(:"dump", Messages::DumpLinkmodesGetRequest, Messages::DumpLinkmodesGetReply, args, &block)
6701
- end
6702
- # Set link modes.
6703
- #--
6704
- # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?ours: AttributeSets::Bitset, ?peer: AttributeSets::Bitset, ?speed: ::Integer, ?duplex: ::Integer, ?master_slave_cfg: ::Integer, ?master_slave_state: ::Integer, ?lanes: ::Integer, ?rate_matching: ::Integer) -> void
6705
- def do_linkmodes_set(**args)
6706
- exchange_message(:"do", Messages::DoLinkmodesSetRequest, nil, args)
6707
- end
6708
- # Get link state.
6709
- #--
6710
- # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkstateGetReply
6711
- def do_linkstate_get(**args)
6712
- exchange_message(:"do", Messages::DoLinkstateGetRequest, Messages::DoLinkstateGetReply, args)
6713
- end
6714
- # Get link state.
6715
- #--
6716
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkstateGetReply]
6717
- # | (?header: AttributeSets::Header) { (Messages::DumpLinkstateGetReply) -> void } -> void
6718
- def dump_linkstate_get(**args, &block)
6719
- exchange_message(:"dump", Messages::DumpLinkstateGetRequest, Messages::DumpLinkstateGetReply, args, &block)
6720
- end
6721
- # Get debug message mask.
6722
- #--
6723
- # @rbs (?header: AttributeSets::Header) -> Messages::DoDebugGetReply
6724
- def do_debug_get(**args)
6725
- exchange_message(:"do", Messages::DoDebugGetRequest, Messages::DoDebugGetReply, args)
6726
- end
6727
- # Get debug message mask.
6728
- #--
6729
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpDebugGetReply]
6730
- # | (?header: AttributeSets::Header) { (Messages::DumpDebugGetReply) -> void } -> void
6731
- def dump_debug_get(**args, &block)
6732
- exchange_message(:"dump", Messages::DumpDebugGetRequest, Messages::DumpDebugGetReply, args, &block)
6733
- end
6734
- # Set debug message mask.
6735
- #--
6736
- # @rbs (?header: AttributeSets::Header, ?msgmask: AttributeSets::Bitset) -> void
6737
- def do_debug_set(**args)
6738
- exchange_message(:"do", Messages::DoDebugSetRequest, nil, args)
6739
- end
6740
- # Get WOL params.
6741
- #--
6742
- # @rbs (?header: AttributeSets::Header) -> Messages::DoWolGetReply
6743
- def do_wol_get(**args)
6744
- exchange_message(:"do", Messages::DoWolGetRequest, Messages::DoWolGetReply, args)
6745
- end
6746
- # Get WOL params.
6747
- #--
6748
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpWolGetReply]
6749
- # | (?header: AttributeSets::Header) { (Messages::DumpWolGetReply) -> void } -> void
6750
- def dump_wol_get(**args, &block)
6751
- exchange_message(:"dump", Messages::DumpWolGetRequest, Messages::DumpWolGetReply, args, &block)
6752
- end
6753
- # Set WOL params.
6754
- #--
6755
- # @rbs (?header: AttributeSets::Header, ?modes: AttributeSets::Bitset, ?sopass: untyped) -> void
6756
- def do_wol_set(**args)
6757
- exchange_message(:"do", Messages::DoWolSetRequest, nil, args)
6758
- end
6759
- # Get features.
6760
- #--
6761
- # @rbs (?header: AttributeSets::Header) -> Messages::DoFeaturesGetReply
6762
- def do_features_get(**args)
6763
- exchange_message(:"do", Messages::DoFeaturesGetRequest, Messages::DoFeaturesGetReply, args)
6764
- end
6765
- # Get features.
6766
- #--
6767
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpFeaturesGetReply]
6768
- # | (?header: AttributeSets::Header) { (Messages::DumpFeaturesGetReply) -> void } -> void
6769
- def dump_features_get(**args, &block)
6770
- exchange_message(:"dump", Messages::DumpFeaturesGetRequest, Messages::DumpFeaturesGetReply, args, &block)
6771
- end
6772
- # Set features.
6773
- #--
6774
- # @rbs (?header: AttributeSets::Header, ?hw: AttributeSets::Bitset, ?wanted: AttributeSets::Bitset, ?active: AttributeSets::Bitset, ?nochange: AttributeSets::Bitset) -> Messages::DoFeaturesSetReply
6775
- def do_features_set(**args)
6776
- exchange_message(:"do", Messages::DoFeaturesSetRequest, Messages::DoFeaturesSetReply, args)
6777
- end
6778
- # Get device private flags.
6779
- #--
6780
- # @rbs (?header: AttributeSets::Header) -> Messages::DoPrivflagsGetReply
6781
- def do_privflags_get(**args)
6782
- exchange_message(:"do", Messages::DoPrivflagsGetRequest, Messages::DoPrivflagsGetReply, args)
6783
- end
6784
- # Get device private flags.
6785
- #--
6786
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpPrivflagsGetReply]
6787
- # | (?header: AttributeSets::Header) { (Messages::DumpPrivflagsGetReply) -> void } -> void
6788
- def dump_privflags_get(**args, &block)
6789
- exchange_message(:"dump", Messages::DumpPrivflagsGetRequest, Messages::DumpPrivflagsGetReply, args, &block)
6790
- end
6791
- # Set device private flags.
6792
- #--
6793
- # @rbs (?header: AttributeSets::Header, ?flags: AttributeSets::Bitset) -> void
6794
- def do_privflags_set(**args)
6795
- exchange_message(:"do", Messages::DoPrivflagsSetRequest, nil, args)
6796
- end
6797
- # Get ring params.
6798
- #--
6799
- # @rbs (?header: AttributeSets::Header) -> Messages::DoRingsGetReply
6800
- def do_rings_get(**args)
6801
- exchange_message(:"do", Messages::DoRingsGetRequest, Messages::DoRingsGetReply, args)
6802
- end
6803
- # Get ring params.
6804
- #--
6805
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpRingsGetReply]
6806
- # | (?header: AttributeSets::Header) { (Messages::DumpRingsGetReply) -> void } -> void
6807
- def dump_rings_get(**args, &block)
6808
- exchange_message(:"dump", Messages::DumpRingsGetRequest, Messages::DumpRingsGetReply, args, &block)
6809
- end
6810
- # Set ring params.
6811
- #--
6812
- # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?rx_mini_max: ::Integer, ?rx_jumbo_max: ::Integer, ?tx_max: ::Integer, ?rx: ::Integer, ?rx_mini: ::Integer, ?rx_jumbo: ::Integer, ?tx: ::Integer, ?rx_buf_len: ::Integer, ?tcp_data_split: ::Integer, ?cqe_size: ::Integer, ?tx_push: ::Integer, ?rx_push: ::Integer, ?tx_push_buf_len: ::Integer, ?tx_push_buf_len_max: ::Integer, ?hds_thresh: ::Integer, ?hds_thresh_max: ::Integer) -> void
6813
- def do_rings_set(**args)
6814
- exchange_message(:"do", Messages::DoRingsSetRequest, nil, args)
6815
- end
6816
- # Get channel params.
6817
- #--
6818
- # @rbs (?header: AttributeSets::Header) -> Messages::DoChannelsGetReply
6819
- def do_channels_get(**args)
6820
- exchange_message(:"do", Messages::DoChannelsGetRequest, Messages::DoChannelsGetReply, args)
6821
- end
6822
- # Get channel params.
6823
- #--
6824
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpChannelsGetReply]
6825
- # | (?header: AttributeSets::Header) { (Messages::DumpChannelsGetReply) -> void } -> void
6826
- def dump_channels_get(**args, &block)
6827
- exchange_message(:"dump", Messages::DumpChannelsGetRequest, Messages::DumpChannelsGetReply, args, &block)
6828
- end
6829
- # Set channel params.
6830
- #--
6831
- # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?tx_max: ::Integer, ?other_max: ::Integer, ?combined_max: ::Integer, ?rx_count: ::Integer, ?tx_count: ::Integer, ?other_count: ::Integer, ?combined_count: ::Integer) -> void
6832
- def do_channels_set(**args)
6833
- exchange_message(:"do", Messages::DoChannelsSetRequest, nil, args)
6834
- end
6835
- # Get coalesce params.
6836
- #--
6837
- # @rbs (?header: AttributeSets::Header) -> Messages::DoCoalesceGetReply
6838
- def do_coalesce_get(**args)
6839
- exchange_message(:"do", Messages::DoCoalesceGetRequest, Messages::DoCoalesceGetReply, args)
6840
- end
6841
- # Get coalesce params.
6842
- #--
6843
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpCoalesceGetReply]
6844
- # | (?header: AttributeSets::Header) { (Messages::DumpCoalesceGetReply) -> void } -> void
6845
- def dump_coalesce_get(**args, &block)
6846
- exchange_message(:"dump", Messages::DumpCoalesceGetRequest, Messages::DumpCoalesceGetReply, args, &block)
6847
- end
6848
- # Set coalesce params.
6849
- #--
6850
- # @rbs (?header: AttributeSets::Header, ?rx_usecs: ::Integer, ?rx_max_frames: ::Integer, ?rx_usecs_irq: ::Integer, ?rx_max_frames_irq: ::Integer, ?tx_usecs: ::Integer, ?tx_max_frames: ::Integer, ?tx_usecs_irq: ::Integer, ?tx_max_frames_irq: ::Integer, ?stats_block_usecs: ::Integer, ?use_adaptive_rx: ::Integer, ?use_adaptive_tx: ::Integer, ?pkt_rate_low: ::Integer, ?rx_usecs_low: ::Integer, ?rx_max_frames_low: ::Integer, ?tx_usecs_low: ::Integer, ?tx_max_frames_low: ::Integer, ?pkt_rate_high: ::Integer, ?rx_usecs_high: ::Integer, ?rx_max_frames_high: ::Integer, ?tx_usecs_high: ::Integer, ?tx_max_frames_high: ::Integer, ?rate_sample_interval: ::Integer, ?use_cqe_mode_tx: ::Integer, ?use_cqe_mode_rx: ::Integer, ?tx_aggr_max_bytes: ::Integer, ?tx_aggr_max_frames: ::Integer, ?tx_aggr_time_usecs: ::Integer, ?rx_profile: AttributeSets::Profile, ?tx_profile: AttributeSets::Profile, ?rx_cqe_frames: ::Integer, ?rx_cqe_nsecs: ::Integer) -> void
6851
- def do_coalesce_set(**args)
6852
- exchange_message(:"do", Messages::DoCoalesceSetRequest, nil, args)
6853
- end
6854
- # Get pause params.
6855
- #--
6856
- # @rbs (?header: AttributeSets::Header) -> Messages::DoPauseGetReply
6857
- def do_pause_get(**args)
6858
- exchange_message(:"do", Messages::DoPauseGetRequest, Messages::DoPauseGetReply, args)
6859
- end
6860
- # Get pause params.
6861
- #--
6862
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpPauseGetReply]
6863
- # | (?header: AttributeSets::Header) { (Messages::DumpPauseGetReply) -> void } -> void
6864
- def dump_pause_get(**args, &block)
6865
- exchange_message(:"dump", Messages::DumpPauseGetRequest, Messages::DumpPauseGetReply, args, &block)
6866
- end
6867
- # Set pause params.
6868
- #--
6869
- # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?rx: ::Integer, ?tx: ::Integer, ?stats: AttributeSets::PauseStat, ?stats_src: ::Integer) -> void
6870
- def do_pause_set(**args)
6871
- exchange_message(:"do", Messages::DoPauseSetRequest, nil, args)
6872
- end
6873
- # Get eee params.
6874
- #--
6875
- # @rbs (?header: AttributeSets::Header) -> Messages::DoEeeGetReply
6876
- def do_eee_get(**args)
6877
- exchange_message(:"do", Messages::DoEeeGetRequest, Messages::DoEeeGetReply, args)
6878
- end
6879
- # Get eee params.
6880
- #--
6881
- # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpEeeGetReply]
6882
- # | (?header: AttributeSets::Header) { (Messages::DumpEeeGetReply) -> void } -> void
6883
- def dump_eee_get(**args, &block)
6884
- exchange_message(:"dump", Messages::DumpEeeGetRequest, Messages::DumpEeeGetReply, args, &block)
6885
- end
6886
- # Set eee params.
6887
- #--
6888
- # @rbs (?header: AttributeSets::Header, ?modes_ours: AttributeSets::Bitset, ?modes_peer: AttributeSets::Bitset, ?active: ::Integer, ?enabled: ::Integer, ?tx_lpi_enabled: ::Integer, ?tx_lpi_timer: ::Integer) -> void
6889
- def do_eee_set(**args)
6890
- exchange_message(:"do", Messages::DoEeeSetRequest, nil, args)
6891
- end
6892
- # Get tsinfo params.
6893
- #--
6894
- # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) -> Messages::DoTsinfoGetReply
6895
- def do_tsinfo_get(**args)
6896
- exchange_message(:"do", Messages::DoTsinfoGetRequest, Messages::DoTsinfoGetReply, args)
6897
- end
6898
- # Get tsinfo params.
6660
+ module Notifications
6661
+ # Notification for change in link info.
6662
+ class LinkinfoNtf < ::Nl::Protocols::Genl::Message
6663
+ TYPE = 3
6664
+ FIXED_HEADER = nil
6665
+ ATTRIBUTE_SET = AttributeSets::Linkinfo
6666
+ ATTRIBUTES = Ractor.make_shareable(%i[header port phyaddr tp_mdix tp_mdix_ctrl transceiver])
6667
+ # Gets the value of `header` attribute in the message.
6668
+ #--
6669
+ # @rbs return: AttributeSets::Header
6670
+ def header; attributes[:"header"]&.value; end
6671
+ # Gets the value of `port` attribute in the message.
6672
+ #--
6673
+ # @rbs return: ::Integer
6674
+ def port; attributes[:"port"]&.value; end
6675
+ # Gets the value of `phyaddr` attribute in the message.
6676
+ #--
6677
+ # @rbs return: ::Integer
6678
+ def phyaddr; attributes[:"phyaddr"]&.value; end
6679
+ # Gets the value of `tp-mdix` attribute in the message.
6680
+ #--
6681
+ # @rbs return: ::Integer
6682
+ def tp_mdix; attributes[:"tp_mdix"]&.value; end
6683
+ # Gets the value of `tp-mdix-ctrl` attribute in the message.
6684
+ #--
6685
+ # @rbs return: ::Integer
6686
+ def tp_mdix_ctrl; attributes[:"tp_mdix_ctrl"]&.value; end
6687
+ # Gets the value of `transceiver` attribute in the message.
6688
+ #--
6689
+ # @rbs return: ::Integer
6690
+ def transceiver; attributes[:"transceiver"]&.value; end
6691
+ end
6692
+ # Notification for change in link modes.
6693
+ class LinkmodesNtf < ::Nl::Protocols::Genl::Message
6694
+ TYPE = 5
6695
+ FIXED_HEADER = nil
6696
+ ATTRIBUTE_SET = AttributeSets::Linkmodes
6697
+ ATTRIBUTES = Ractor.make_shareable(%i[header autoneg ours peer speed duplex master_slave_cfg master_slave_state lanes rate_matching])
6698
+ # Gets the value of `header` attribute in the message.
6699
+ #--
6700
+ # @rbs return: AttributeSets::Header
6701
+ def header; attributes[:"header"]&.value; end
6702
+ # Gets the value of `autoneg` attribute in the message.
6703
+ #--
6704
+ # @rbs return: ::Integer
6705
+ def autoneg; attributes[:"autoneg"]&.value; end
6706
+ # Gets the value of `ours` attribute in the message.
6707
+ #--
6708
+ # @rbs return: AttributeSets::Bitset
6709
+ def ours; attributes[:"ours"]&.value; end
6710
+ # Gets the value of `peer` attribute in the message.
6711
+ #--
6712
+ # @rbs return: AttributeSets::Bitset
6713
+ def peer; attributes[:"peer"]&.value; end
6714
+ # Gets the value of `speed` attribute in the message.
6715
+ #--
6716
+ # @rbs return: ::Integer
6717
+ def speed; attributes[:"speed"]&.value; end
6718
+ # Gets the value of `duplex` attribute in the message.
6719
+ #--
6720
+ # @rbs return: ::Integer
6721
+ def duplex; attributes[:"duplex"]&.value; end
6722
+ # Gets the value of `master-slave-cfg` attribute in the message.
6723
+ #--
6724
+ # @rbs return: ::Integer
6725
+ def master_slave_cfg; attributes[:"master_slave_cfg"]&.value; end
6726
+ # Gets the value of `master-slave-state` attribute in the message.
6727
+ #--
6728
+ # @rbs return: ::Integer
6729
+ def master_slave_state; attributes[:"master_slave_state"]&.value; end
6730
+ # Gets the value of `lanes` attribute in the message.
6731
+ #--
6732
+ # @rbs return: ::Integer
6733
+ def lanes; attributes[:"lanes"]&.value; end
6734
+ # Gets the value of `rate-matching` attribute in the message.
6735
+ #--
6736
+ # @rbs return: ::Integer
6737
+ def rate_matching; attributes[:"rate_matching"]&.value; end
6738
+ end
6739
+ # Notification for change in debug message mask.
6740
+ class DebugNtf < ::Nl::Protocols::Genl::Message
6741
+ TYPE = 8
6742
+ FIXED_HEADER = nil
6743
+ ATTRIBUTE_SET = AttributeSets::Debug
6744
+ ATTRIBUTES = Ractor.make_shareable(%i[header msgmask])
6745
+ # Gets the value of `header` attribute in the message.
6746
+ #--
6747
+ # @rbs return: AttributeSets::Header
6748
+ def header; attributes[:"header"]&.value; end
6749
+ # Gets the value of `msgmask` attribute in the message.
6750
+ #--
6751
+ # @rbs return: AttributeSets::Bitset
6752
+ def msgmask; attributes[:"msgmask"]&.value; end
6753
+ end
6754
+ # Notification for change in WOL params.
6755
+ class WolNtf < ::Nl::Protocols::Genl::Message
6756
+ TYPE = 10
6757
+ FIXED_HEADER = nil
6758
+ ATTRIBUTE_SET = AttributeSets::Wol
6759
+ ATTRIBUTES = Ractor.make_shareable(%i[header modes sopass])
6760
+ # Gets the value of `header` attribute in the message.
6761
+ #--
6762
+ # @rbs return: AttributeSets::Header
6763
+ def header; attributes[:"header"]&.value; end
6764
+ # Gets the value of `modes` attribute in the message.
6765
+ #--
6766
+ # @rbs return: AttributeSets::Bitset
6767
+ def modes; attributes[:"modes"]&.value; end
6768
+ # Gets the value of `sopass` attribute in the message.
6769
+ #--
6770
+ # @rbs return: ::String
6771
+ def sopass; attributes[:"sopass"]&.value; end
6772
+ end
6773
+ # Notification for change in features.
6774
+ class FeaturesNtf < ::Nl::Protocols::Genl::Message
6775
+ TYPE = 13
6776
+ FIXED_HEADER = nil
6777
+ ATTRIBUTE_SET = AttributeSets::Features
6778
+ ATTRIBUTES = Ractor.make_shareable(%i[header hw wanted active nochange])
6779
+ # Gets the value of `header` attribute in the message.
6780
+ #--
6781
+ # @rbs return: AttributeSets::Header
6782
+ def header; attributes[:"header"]&.value; end
6783
+ # Gets the value of `hw` attribute in the message.
6784
+ #--
6785
+ # @rbs return: AttributeSets::Bitset
6786
+ def hw; attributes[:"hw"]&.value; end
6787
+ # Gets the value of `wanted` attribute in the message.
6788
+ #--
6789
+ # @rbs return: AttributeSets::Bitset
6790
+ def wanted; attributes[:"wanted"]&.value; end
6791
+ # Gets the value of `active` attribute in the message.
6792
+ #--
6793
+ # @rbs return: AttributeSets::Bitset
6794
+ def active; attributes[:"active"]&.value; end
6795
+ # Gets the value of `nochange` attribute in the message.
6796
+ #--
6797
+ # @rbs return: AttributeSets::Bitset
6798
+ def nochange; attributes[:"nochange"]&.value; end
6799
+ end
6800
+ # Notification for change in device private flags.
6801
+ class PrivflagsNtf < ::Nl::Protocols::Genl::Message
6802
+ TYPE = 15
6803
+ FIXED_HEADER = nil
6804
+ ATTRIBUTE_SET = AttributeSets::Privflags
6805
+ ATTRIBUTES = Ractor.make_shareable(%i[header flags])
6806
+ # Gets the value of `header` attribute in the message.
6807
+ #--
6808
+ # @rbs return: AttributeSets::Header
6809
+ def header; attributes[:"header"]&.value; end
6810
+ # Gets the value of `flags` attribute in the message.
6811
+ #--
6812
+ # @rbs return: AttributeSets::Bitset
6813
+ def flags; attributes[:"flags"]&.value; end
6814
+ end
6815
+ # Notification for change in ring params.
6816
+ class RingsNtf < ::Nl::Protocols::Genl::Message
6817
+ TYPE = 17
6818
+ FIXED_HEADER = nil
6819
+ ATTRIBUTE_SET = AttributeSets::Rings
6820
+ ATTRIBUTES = Ractor.make_shareable(%i[header rx_max rx_mini_max rx_jumbo_max tx_max rx rx_mini rx_jumbo tx rx_buf_len tcp_data_split cqe_size tx_push rx_push tx_push_buf_len tx_push_buf_len_max hds_thresh hds_thresh_max])
6821
+ # Gets the value of `header` attribute in the message.
6822
+ #--
6823
+ # @rbs return: AttributeSets::Header
6824
+ def header; attributes[:"header"]&.value; end
6825
+ # Gets the value of `rx-max` attribute in the message.
6826
+ #--
6827
+ # @rbs return: ::Integer
6828
+ def rx_max; attributes[:"rx_max"]&.value; end
6829
+ # Gets the value of `rx-mini-max` attribute in the message.
6830
+ #--
6831
+ # @rbs return: ::Integer
6832
+ def rx_mini_max; attributes[:"rx_mini_max"]&.value; end
6833
+ # Gets the value of `rx-jumbo-max` attribute in the message.
6834
+ #--
6835
+ # @rbs return: ::Integer
6836
+ def rx_jumbo_max; attributes[:"rx_jumbo_max"]&.value; end
6837
+ # Gets the value of `tx-max` attribute in the message.
6838
+ #--
6839
+ # @rbs return: ::Integer
6840
+ def tx_max; attributes[:"tx_max"]&.value; end
6841
+ # Gets the value of `rx` attribute in the message.
6842
+ #--
6843
+ # @rbs return: ::Integer
6844
+ def rx; attributes[:"rx"]&.value; end
6845
+ # Gets the value of `rx-mini` attribute in the message.
6846
+ #--
6847
+ # @rbs return: ::Integer
6848
+ def rx_mini; attributes[:"rx_mini"]&.value; end
6849
+ # Gets the value of `rx-jumbo` attribute in the message.
6850
+ #--
6851
+ # @rbs return: ::Integer
6852
+ def rx_jumbo; attributes[:"rx_jumbo"]&.value; end
6853
+ # Gets the value of `tx` attribute in the message.
6854
+ #--
6855
+ # @rbs return: ::Integer
6856
+ def tx; attributes[:"tx"]&.value; end
6857
+ # Gets the value of `rx-buf-len` attribute in the message.
6858
+ #--
6859
+ # @rbs return: ::Integer
6860
+ def rx_buf_len; attributes[:"rx_buf_len"]&.value; end
6861
+ # Gets the value of `tcp-data-split` attribute in the message.
6862
+ #--
6863
+ # @rbs return: ::Integer
6864
+ def tcp_data_split; attributes[:"tcp_data_split"]&.value; end
6865
+ # Gets the value of `cqe-size` attribute in the message.
6866
+ #--
6867
+ # @rbs return: ::Integer
6868
+ def cqe_size; attributes[:"cqe_size"]&.value; end
6869
+ # Gets the value of `tx-push` attribute in the message.
6870
+ #--
6871
+ # @rbs return: ::Integer
6872
+ def tx_push; attributes[:"tx_push"]&.value; end
6873
+ # Gets the value of `rx-push` attribute in the message.
6874
+ #--
6875
+ # @rbs return: ::Integer
6876
+ def rx_push; attributes[:"rx_push"]&.value; end
6877
+ # Gets the value of `tx-push-buf-len` attribute in the message.
6878
+ #--
6879
+ # @rbs return: ::Integer
6880
+ def tx_push_buf_len; attributes[:"tx_push_buf_len"]&.value; end
6881
+ # Gets the value of `tx-push-buf-len-max` attribute in the message.
6882
+ #--
6883
+ # @rbs return: ::Integer
6884
+ def tx_push_buf_len_max; attributes[:"tx_push_buf_len_max"]&.value; end
6885
+ # Gets the value of `hds-thresh` attribute in the message.
6886
+ #--
6887
+ # @rbs return: ::Integer
6888
+ def hds_thresh; attributes[:"hds_thresh"]&.value; end
6889
+ # Gets the value of `hds-thresh-max` attribute in the message.
6890
+ #--
6891
+ # @rbs return: ::Integer
6892
+ def hds_thresh_max; attributes[:"hds_thresh_max"]&.value; end
6893
+ end
6894
+ # Notification for change in channel params.
6895
+ class ChannelsNtf < ::Nl::Protocols::Genl::Message
6896
+ TYPE = 19
6897
+ FIXED_HEADER = nil
6898
+ ATTRIBUTE_SET = AttributeSets::Channels
6899
+ ATTRIBUTES = Ractor.make_shareable(%i[header rx_max tx_max other_max combined_max rx_count tx_count other_count combined_count])
6900
+ # Gets the value of `header` attribute in the message.
6901
+ #--
6902
+ # @rbs return: AttributeSets::Header
6903
+ def header; attributes[:"header"]&.value; end
6904
+ # Gets the value of `rx-max` attribute in the message.
6905
+ #--
6906
+ # @rbs return: ::Integer
6907
+ def rx_max; attributes[:"rx_max"]&.value; end
6908
+ # Gets the value of `tx-max` attribute in the message.
6909
+ #--
6910
+ # @rbs return: ::Integer
6911
+ def tx_max; attributes[:"tx_max"]&.value; end
6912
+ # Gets the value of `other-max` attribute in the message.
6913
+ #--
6914
+ # @rbs return: ::Integer
6915
+ def other_max; attributes[:"other_max"]&.value; end
6916
+ # Gets the value of `combined-max` attribute in the message.
6917
+ #--
6918
+ # @rbs return: ::Integer
6919
+ def combined_max; attributes[:"combined_max"]&.value; end
6920
+ # Gets the value of `rx-count` attribute in the message.
6921
+ #--
6922
+ # @rbs return: ::Integer
6923
+ def rx_count; attributes[:"rx_count"]&.value; end
6924
+ # Gets the value of `tx-count` attribute in the message.
6925
+ #--
6926
+ # @rbs return: ::Integer
6927
+ def tx_count; attributes[:"tx_count"]&.value; end
6928
+ # Gets the value of `other-count` attribute in the message.
6929
+ #--
6930
+ # @rbs return: ::Integer
6931
+ def other_count; attributes[:"other_count"]&.value; end
6932
+ # Gets the value of `combined-count` attribute in the message.
6933
+ #--
6934
+ # @rbs return: ::Integer
6935
+ def combined_count; attributes[:"combined_count"]&.value; end
6936
+ end
6937
+ # Notification for change in coalesce params.
6938
+ class CoalesceNtf < ::Nl::Protocols::Genl::Message
6939
+ TYPE = 21
6940
+ FIXED_HEADER = nil
6941
+ ATTRIBUTE_SET = AttributeSets::Coalesce
6942
+ ATTRIBUTES = Ractor.make_shareable(%i[header rx_usecs rx_max_frames rx_usecs_irq rx_max_frames_irq tx_usecs tx_max_frames tx_usecs_irq tx_max_frames_irq stats_block_usecs use_adaptive_rx use_adaptive_tx pkt_rate_low rx_usecs_low rx_max_frames_low tx_usecs_low tx_max_frames_low pkt_rate_high rx_usecs_high rx_max_frames_high tx_usecs_high tx_max_frames_high rate_sample_interval use_cqe_mode_tx use_cqe_mode_rx tx_aggr_max_bytes tx_aggr_max_frames tx_aggr_time_usecs rx_profile tx_profile rx_cqe_frames rx_cqe_nsecs])
6943
+ # Gets the value of `header` attribute in the message.
6944
+ #--
6945
+ # @rbs return: AttributeSets::Header
6946
+ def header; attributes[:"header"]&.value; end
6947
+ # Gets the value of `rx-usecs` attribute in the message.
6948
+ #--
6949
+ # @rbs return: ::Integer
6950
+ def rx_usecs; attributes[:"rx_usecs"]&.value; end
6951
+ # Gets the value of `rx-max-frames` attribute in the message.
6952
+ #--
6953
+ # @rbs return: ::Integer
6954
+ def rx_max_frames; attributes[:"rx_max_frames"]&.value; end
6955
+ # Gets the value of `rx-usecs-irq` attribute in the message.
6956
+ #--
6957
+ # @rbs return: ::Integer
6958
+ def rx_usecs_irq; attributes[:"rx_usecs_irq"]&.value; end
6959
+ # Gets the value of `rx-max-frames-irq` attribute in the message.
6960
+ #--
6961
+ # @rbs return: ::Integer
6962
+ def rx_max_frames_irq; attributes[:"rx_max_frames_irq"]&.value; end
6963
+ # Gets the value of `tx-usecs` attribute in the message.
6964
+ #--
6965
+ # @rbs return: ::Integer
6966
+ def tx_usecs; attributes[:"tx_usecs"]&.value; end
6967
+ # Gets the value of `tx-max-frames` attribute in the message.
6968
+ #--
6969
+ # @rbs return: ::Integer
6970
+ def tx_max_frames; attributes[:"tx_max_frames"]&.value; end
6971
+ # Gets the value of `tx-usecs-irq` attribute in the message.
6972
+ #--
6973
+ # @rbs return: ::Integer
6974
+ def tx_usecs_irq; attributes[:"tx_usecs_irq"]&.value; end
6975
+ # Gets the value of `tx-max-frames-irq` attribute in the message.
6976
+ #--
6977
+ # @rbs return: ::Integer
6978
+ def tx_max_frames_irq; attributes[:"tx_max_frames_irq"]&.value; end
6979
+ # Gets the value of `stats-block-usecs` attribute in the message.
6980
+ #--
6981
+ # @rbs return: ::Integer
6982
+ def stats_block_usecs; attributes[:"stats_block_usecs"]&.value; end
6983
+ # Gets the value of `use-adaptive-rx` attribute in the message.
6984
+ #--
6985
+ # @rbs return: ::Integer
6986
+ def use_adaptive_rx; attributes[:"use_adaptive_rx"]&.value; end
6987
+ # Gets the value of `use-adaptive-tx` attribute in the message.
6988
+ #--
6989
+ # @rbs return: ::Integer
6990
+ def use_adaptive_tx; attributes[:"use_adaptive_tx"]&.value; end
6991
+ # Gets the value of `pkt-rate-low` attribute in the message.
6992
+ #--
6993
+ # @rbs return: ::Integer
6994
+ def pkt_rate_low; attributes[:"pkt_rate_low"]&.value; end
6995
+ # Gets the value of `rx-usecs-low` attribute in the message.
6996
+ #--
6997
+ # @rbs return: ::Integer
6998
+ def rx_usecs_low; attributes[:"rx_usecs_low"]&.value; end
6999
+ # Gets the value of `rx-max-frames-low` attribute in the message.
7000
+ #--
7001
+ # @rbs return: ::Integer
7002
+ def rx_max_frames_low; attributes[:"rx_max_frames_low"]&.value; end
7003
+ # Gets the value of `tx-usecs-low` attribute in the message.
7004
+ #--
7005
+ # @rbs return: ::Integer
7006
+ def tx_usecs_low; attributes[:"tx_usecs_low"]&.value; end
7007
+ # Gets the value of `tx-max-frames-low` attribute in the message.
7008
+ #--
7009
+ # @rbs return: ::Integer
7010
+ def tx_max_frames_low; attributes[:"tx_max_frames_low"]&.value; end
7011
+ # Gets the value of `pkt-rate-high` attribute in the message.
7012
+ #--
7013
+ # @rbs return: ::Integer
7014
+ def pkt_rate_high; attributes[:"pkt_rate_high"]&.value; end
7015
+ # Gets the value of `rx-usecs-high` attribute in the message.
7016
+ #--
7017
+ # @rbs return: ::Integer
7018
+ def rx_usecs_high; attributes[:"rx_usecs_high"]&.value; end
7019
+ # Gets the value of `rx-max-frames-high` attribute in the message.
7020
+ #--
7021
+ # @rbs return: ::Integer
7022
+ def rx_max_frames_high; attributes[:"rx_max_frames_high"]&.value; end
7023
+ # Gets the value of `tx-usecs-high` attribute in the message.
7024
+ #--
7025
+ # @rbs return: ::Integer
7026
+ def tx_usecs_high; attributes[:"tx_usecs_high"]&.value; end
7027
+ # Gets the value of `tx-max-frames-high` attribute in the message.
7028
+ #--
7029
+ # @rbs return: ::Integer
7030
+ def tx_max_frames_high; attributes[:"tx_max_frames_high"]&.value; end
7031
+ # Gets the value of `rate-sample-interval` attribute in the message.
7032
+ #--
7033
+ # @rbs return: ::Integer
7034
+ def rate_sample_interval; attributes[:"rate_sample_interval"]&.value; end
7035
+ # Gets the value of `use-cqe-mode-tx` attribute in the message.
7036
+ #--
7037
+ # @rbs return: ::Integer
7038
+ def use_cqe_mode_tx; attributes[:"use_cqe_mode_tx"]&.value; end
7039
+ # Gets the value of `use-cqe-mode-rx` attribute in the message.
7040
+ #--
7041
+ # @rbs return: ::Integer
7042
+ def use_cqe_mode_rx; attributes[:"use_cqe_mode_rx"]&.value; end
7043
+ # Gets the value of `tx-aggr-max-bytes` attribute in the message.
7044
+ #--
7045
+ # @rbs return: ::Integer
7046
+ def tx_aggr_max_bytes; attributes[:"tx_aggr_max_bytes"]&.value; end
7047
+ # Gets the value of `tx-aggr-max-frames` attribute in the message.
7048
+ #--
7049
+ # @rbs return: ::Integer
7050
+ def tx_aggr_max_frames; attributes[:"tx_aggr_max_frames"]&.value; end
7051
+ # Gets the value of `tx-aggr-time-usecs` attribute in the message.
7052
+ #--
7053
+ # @rbs return: ::Integer
7054
+ def tx_aggr_time_usecs; attributes[:"tx_aggr_time_usecs"]&.value; end
7055
+ # Gets the value of `rx-profile` attribute in the message.
7056
+ #--
7057
+ # @rbs return: AttributeSets::Profile
7058
+ def rx_profile; attributes[:"rx_profile"]&.value; end
7059
+ # Gets the value of `tx-profile` attribute in the message.
7060
+ #--
7061
+ # @rbs return: AttributeSets::Profile
7062
+ def tx_profile; attributes[:"tx_profile"]&.value; end
7063
+ # Gets the value of `rx-cqe-frames` attribute in the message.
7064
+ #--
7065
+ # @rbs return: ::Integer
7066
+ def rx_cqe_frames; attributes[:"rx_cqe_frames"]&.value; end
7067
+ # Gets the value of `rx-cqe-nsecs` attribute in the message.
7068
+ #--
7069
+ # @rbs return: ::Integer
7070
+ def rx_cqe_nsecs; attributes[:"rx_cqe_nsecs"]&.value; end
7071
+ end
7072
+ # Notification for change in pause params.
7073
+ class PauseNtf < ::Nl::Protocols::Genl::Message
7074
+ TYPE = 23
7075
+ FIXED_HEADER = nil
7076
+ ATTRIBUTE_SET = AttributeSets::Pause
7077
+ ATTRIBUTES = Ractor.make_shareable(%i[header autoneg rx tx stats stats_src])
7078
+ # Gets the value of `header` attribute in the message.
7079
+ #--
7080
+ # @rbs return: AttributeSets::Header
7081
+ def header; attributes[:"header"]&.value; end
7082
+ # Gets the value of `autoneg` attribute in the message.
7083
+ #--
7084
+ # @rbs return: ::Integer
7085
+ def autoneg; attributes[:"autoneg"]&.value; end
7086
+ # Gets the value of `rx` attribute in the message.
7087
+ #--
7088
+ # @rbs return: ::Integer
7089
+ def rx; attributes[:"rx"]&.value; end
7090
+ # Gets the value of `tx` attribute in the message.
7091
+ #--
7092
+ # @rbs return: ::Integer
7093
+ def tx; attributes[:"tx"]&.value; end
7094
+ # Gets the value of `stats` attribute in the message.
7095
+ #--
7096
+ # @rbs return: AttributeSets::PauseStat
7097
+ def stats; attributes[:"stats"]&.value; end
7098
+ # Gets the value of `stats-src` attribute in the message.
7099
+ #--
7100
+ # @rbs return: ::Integer
7101
+ def stats_src; attributes[:"stats_src"]&.value; end
7102
+ end
7103
+ # Notification for change in eee params.
7104
+ class EeeNtf < ::Nl::Protocols::Genl::Message
7105
+ TYPE = 25
7106
+ FIXED_HEADER = nil
7107
+ ATTRIBUTE_SET = AttributeSets::Eee
7108
+ ATTRIBUTES = Ractor.make_shareable(%i[header modes_ours modes_peer active enabled tx_lpi_enabled tx_lpi_timer])
7109
+ # Gets the value of `header` attribute in the message.
7110
+ #--
7111
+ # @rbs return: AttributeSets::Header
7112
+ def header; attributes[:"header"]&.value; end
7113
+ # Gets the value of `modes-ours` attribute in the message.
7114
+ #--
7115
+ # @rbs return: AttributeSets::Bitset
7116
+ def modes_ours; attributes[:"modes_ours"]&.value; end
7117
+ # Gets the value of `modes-peer` attribute in the message.
7118
+ #--
7119
+ # @rbs return: AttributeSets::Bitset
7120
+ def modes_peer; attributes[:"modes_peer"]&.value; end
7121
+ # Gets the value of `active` attribute in the message.
7122
+ #--
7123
+ # @rbs return: ::Integer
7124
+ def active; attributes[:"active"]&.value; end
7125
+ # Gets the value of `enabled` attribute in the message.
7126
+ #--
7127
+ # @rbs return: ::Integer
7128
+ def enabled; attributes[:"enabled"]&.value; end
7129
+ # Gets the value of `tx-lpi-enabled` attribute in the message.
7130
+ #--
7131
+ # @rbs return: ::Integer
7132
+ def tx_lpi_enabled; attributes[:"tx_lpi_enabled"]&.value; end
7133
+ # Gets the value of `tx-lpi-timer` attribute in the message.
7134
+ #--
7135
+ # @rbs return: ::Integer
7136
+ def tx_lpi_timer; attributes[:"tx_lpi_timer"]&.value; end
7137
+ end
7138
+ # Cable test notification.
7139
+ class CableTestNtf < ::Nl::Protocols::Genl::Message
7140
+ TYPE = 27
7141
+ FIXED_HEADER = nil
7142
+ ATTRIBUTE_SET = AttributeSets::CableTestNtf
7143
+ ATTRIBUTES = Ractor.make_shareable(%i[header status])
7144
+ # Gets the value of `header` attribute in the message.
7145
+ #--
7146
+ # @rbs return: AttributeSets::Header
7147
+ def header; attributes[:"header"]&.value; end
7148
+ # Gets the value of `status` attribute in the message.
7149
+ #--
7150
+ # @rbs return: ::Integer
7151
+ def status; attributes[:"status"]&.value; end
7152
+ end
7153
+ # Cable test TDR notification.
7154
+ class CableTestTdrNtf < ::Nl::Protocols::Genl::Message
7155
+ TYPE = 28
7156
+ FIXED_HEADER = nil
7157
+ ATTRIBUTE_SET = AttributeSets::CableTestTdrNtf
7158
+ ATTRIBUTES = Ractor.make_shareable(%i[header status nest])
7159
+ # Gets the value of `header` attribute in the message.
7160
+ #--
7161
+ # @rbs return: AttributeSets::Header
7162
+ def header; attributes[:"header"]&.value; end
7163
+ # Gets the value of `status` attribute in the message.
7164
+ #--
7165
+ # @rbs return: ::Integer
7166
+ def status; attributes[:"status"]&.value; end
7167
+ # Gets the value of `nest` attribute in the message.
7168
+ #--
7169
+ # @rbs return: AttributeSets::CableNest
7170
+ def nest; attributes[:"nest"]&.value; end
7171
+ end
7172
+ # Notification for change in FEC params.
7173
+ class FecNtf < ::Nl::Protocols::Genl::Message
7174
+ TYPE = 31
7175
+ FIXED_HEADER = nil
7176
+ ATTRIBUTE_SET = AttributeSets::Fec
7177
+ ATTRIBUTES = Ractor.make_shareable(%i[header modes auto active stats])
7178
+ # Gets the value of `header` attribute in the message.
7179
+ #--
7180
+ # @rbs return: AttributeSets::Header
7181
+ def header; attributes[:"header"]&.value; end
7182
+ # Gets the value of `modes` attribute in the message.
7183
+ #--
7184
+ # @rbs return: AttributeSets::Bitset
7185
+ def modes; attributes[:"modes"]&.value; end
7186
+ # Gets the value of `auto` attribute in the message.
7187
+ #--
7188
+ # @rbs return: ::Integer
7189
+ def auto; attributes[:"auto"]&.value; end
7190
+ # Gets the value of `active` attribute in the message.
7191
+ #--
7192
+ # @rbs return: ::Integer
7193
+ def active; attributes[:"active"]&.value; end
7194
+ # Gets the value of `stats` attribute in the message.
7195
+ #--
7196
+ # @rbs return: AttributeSets::FecStat
7197
+ def stats; attributes[:"stats"]&.value; end
7198
+ end
7199
+ # Notification for change in module params.
7200
+ class ModuleNtf < ::Nl::Protocols::Genl::Message
7201
+ TYPE = 36
7202
+ FIXED_HEADER = nil
7203
+ ATTRIBUTE_SET = AttributeSets::Module
7204
+ ATTRIBUTES = Ractor.make_shareable(%i[header power_mode_policy power_mode])
7205
+ # Gets the value of `header` attribute in the message.
7206
+ #--
7207
+ # @rbs return: AttributeSets::Header
7208
+ def header; attributes[:"header"]&.value; end
7209
+ # Gets the value of `power-mode-policy` attribute in the message.
7210
+ #--
7211
+ # @rbs return: ::Integer
7212
+ def power_mode_policy; attributes[:"power_mode_policy"]&.value; end
7213
+ # Gets the value of `power-mode` attribute in the message.
7214
+ #--
7215
+ # @rbs return: ::Integer
7216
+ def power_mode; attributes[:"power_mode"]&.value; end
7217
+ end
7218
+ # Notification for change in PLCA params.
7219
+ class PlcaNtf < ::Nl::Protocols::Genl::Message
7220
+ TYPE = 41
7221
+ FIXED_HEADER = nil
7222
+ ATTRIBUTE_SET = AttributeSets::Plca
7223
+ ATTRIBUTES = Ractor.make_shareable(%i[header version enabled status node_cnt node_id to_tmr burst_cnt burst_tmr])
7224
+ # Gets the value of `header` attribute in the message.
7225
+ #--
7226
+ # @rbs return: AttributeSets::Header
7227
+ def header; attributes[:"header"]&.value; end
7228
+ # Gets the value of `version` attribute in the message.
7229
+ #--
7230
+ # @rbs return: ::Integer
7231
+ def version; attributes[:"version"]&.value; end
7232
+ # Gets the value of `enabled` attribute in the message.
7233
+ #--
7234
+ # @rbs return: ::Integer
7235
+ def enabled; attributes[:"enabled"]&.value; end
7236
+ # Gets the value of `status` attribute in the message.
7237
+ #--
7238
+ # @rbs return: ::Integer
7239
+ def status; attributes[:"status"]&.value; end
7240
+ # Gets the value of `node-cnt` attribute in the message.
7241
+ #--
7242
+ # @rbs return: ::Integer
7243
+ def node_cnt; attributes[:"node_cnt"]&.value; end
7244
+ # Gets the value of `node-id` attribute in the message.
7245
+ #--
7246
+ # @rbs return: ::Integer
7247
+ def node_id; attributes[:"node_id"]&.value; end
7248
+ # Gets the value of `to-tmr` attribute in the message.
7249
+ #--
7250
+ # @rbs return: ::Integer
7251
+ def to_tmr; attributes[:"to_tmr"]&.value; end
7252
+ # Gets the value of `burst-cnt` attribute in the message.
7253
+ #--
7254
+ # @rbs return: ::Integer
7255
+ def burst_cnt; attributes[:"burst_cnt"]&.value; end
7256
+ # Gets the value of `burst-tmr` attribute in the message.
7257
+ #--
7258
+ # @rbs return: ::Integer
7259
+ def burst_tmr; attributes[:"burst_tmr"]&.value; end
7260
+ end
7261
+ # Notification for change in MAC Merge configuration.
7262
+ class MmNtf < ::Nl::Protocols::Genl::Message
7263
+ TYPE = 43
7264
+ FIXED_HEADER = nil
7265
+ ATTRIBUTE_SET = AttributeSets::Mm
7266
+ ATTRIBUTES = Ractor.make_shareable(%i[header pmac_enabled tx_enabled tx_active tx_min_frag_size rx_min_frag_size verify_enabled verify_time max_verify_time stats])
7267
+ # Gets the value of `header` attribute in the message.
7268
+ #--
7269
+ # @rbs return: AttributeSets::Header
7270
+ def header; attributes[:"header"]&.value; end
7271
+ # Gets the value of `pmac-enabled` attribute in the message.
7272
+ #--
7273
+ # @rbs return: ::Integer
7274
+ def pmac_enabled; attributes[:"pmac_enabled"]&.value; end
7275
+ # Gets the value of `tx-enabled` attribute in the message.
7276
+ #--
7277
+ # @rbs return: ::Integer
7278
+ def tx_enabled; attributes[:"tx_enabled"]&.value; end
7279
+ # Gets the value of `tx-active` attribute in the message.
7280
+ #--
7281
+ # @rbs return: ::Integer
7282
+ def tx_active; attributes[:"tx_active"]&.value; end
7283
+ # Gets the value of `tx-min-frag-size` attribute in the message.
7284
+ #--
7285
+ # @rbs return: ::Integer
7286
+ def tx_min_frag_size; attributes[:"tx_min_frag_size"]&.value; end
7287
+ # Gets the value of `rx-min-frag-size` attribute in the message.
7288
+ #--
7289
+ # @rbs return: ::Integer
7290
+ def rx_min_frag_size; attributes[:"rx_min_frag_size"]&.value; end
7291
+ # Gets the value of `verify-enabled` attribute in the message.
7292
+ #--
7293
+ # @rbs return: ::Integer
7294
+ def verify_enabled; attributes[:"verify_enabled"]&.value; end
7295
+ # Gets the value of `verify-time` attribute in the message.
7296
+ #--
7297
+ # @rbs return: ::Integer
7298
+ def verify_time; attributes[:"verify_time"]&.value; end
7299
+ # Gets the value of `max-verify-time` attribute in the message.
7300
+ #--
7301
+ # @rbs return: ::Integer
7302
+ def max_verify_time; attributes[:"max_verify_time"]&.value; end
7303
+ # Gets the value of `stats` attribute in the message.
7304
+ #--
7305
+ # @rbs return: AttributeSets::MmStat
7306
+ def stats; attributes[:"stats"]&.value; end
7307
+ end
7308
+ # Notification for firmware flashing progress and status.
7309
+ class ModuleFwFlashNtf < ::Nl::Protocols::Genl::Message
7310
+ TYPE = 44
7311
+ FIXED_HEADER = nil
7312
+ ATTRIBUTE_SET = AttributeSets::ModuleFwFlash
7313
+ ATTRIBUTES = Ractor.make_shareable(%i[header status status_msg done total])
7314
+ # Gets the value of `header` attribute in the message.
7315
+ #--
7316
+ # @rbs return: AttributeSets::Header
7317
+ def header; attributes[:"header"]&.value; end
7318
+ # Gets the value of `status` attribute in the message.
7319
+ #--
7320
+ # @rbs return: ::Integer
7321
+ def status; attributes[:"status"]&.value; end
7322
+ # Gets the value of `status-msg` attribute in the message.
7323
+ #--
7324
+ # @rbs return: ::String
7325
+ def status_msg; attributes[:"status_msg"]&.value; end
7326
+ # Gets the value of `done` attribute in the message.
7327
+ #--
7328
+ # @rbs return: ::Integer
7329
+ def done; attributes[:"done"]&.value; end
7330
+ # Gets the value of `total` attribute in the message.
7331
+ #--
7332
+ # @rbs return: ::Integer
7333
+ def total; attributes[:"total"]&.value; end
7334
+ end
7335
+ # Notification for change in PHY devices.
7336
+ class PhyNtf < ::Nl::Protocols::Genl::Message
7337
+ TYPE = 46
7338
+ FIXED_HEADER = nil
7339
+ ATTRIBUTE_SET = AttributeSets::Phy
7340
+ ATTRIBUTES = Ractor.make_shareable(%i[header index drvname name upstream_type upstream_index upstream_sfp_name downstream_sfp_name])
7341
+ # Gets the value of `header` attribute in the message.
7342
+ #--
7343
+ # @rbs return: AttributeSets::Header
7344
+ def header; attributes[:"header"]&.value; end
7345
+ # Gets the value of `index` attribute in the message.
7346
+ #--
7347
+ # @rbs return: ::Integer
7348
+ def index; attributes[:"index"]&.value; end
7349
+ # Gets the value of `drvname` attribute in the message.
7350
+ #--
7351
+ # @rbs return: ::String
7352
+ def drvname; attributes[:"drvname"]&.value; end
7353
+ # Gets the value of `name` attribute in the message.
7354
+ #--
7355
+ # @rbs return: ::String
7356
+ def name; attributes[:"name"]&.value; end
7357
+ # Gets the value of `upstream-type` attribute in the message.
7358
+ #--
7359
+ # @rbs return: ::Integer
7360
+ def upstream_type; attributes[:"upstream_type"]&.value; end
7361
+ # Gets the value of `upstream-index` attribute in the message.
7362
+ #--
7363
+ # @rbs return: ::Integer
7364
+ def upstream_index; attributes[:"upstream_index"]&.value; end
7365
+ # Gets the value of `upstream-sfp-name` attribute in the message.
7366
+ #--
7367
+ # @rbs return: ::String
7368
+ def upstream_sfp_name; attributes[:"upstream_sfp_name"]&.value; end
7369
+ # Gets the value of `downstream-sfp-name` attribute in the message.
7370
+ #--
7371
+ # @rbs return: ::String
7372
+ def downstream_sfp_name; attributes[:"downstream_sfp_name"]&.value; end
7373
+ end
7374
+ # Notification for PSE events.
7375
+ class PseNtf < ::Nl::Protocols::Genl::Message
7376
+ TYPE = 49
7377
+ FIXED_HEADER = nil
7378
+ ATTRIBUTE_SET = AttributeSets::PseNtf
7379
+ ATTRIBUTES = Ractor.make_shareable(%i[header events])
7380
+ # Gets the value of `header` attribute in the message.
7381
+ #--
7382
+ # @rbs return: AttributeSets::Header
7383
+ def header; attributes[:"header"]&.value; end
7384
+ # Gets the value of `events` attribute in the message.
7385
+ #--
7386
+ # @rbs return: ::Integer
7387
+ def events; attributes[:"events"]&.value; end
7388
+ end
7389
+ # Notification for change in RSS configuration.
7390
+ # For additional contexts only modifications use this notification,
7391
+ # creation and deletion have dedicated messages.
7392
+ class RssNtf < ::Nl::Protocols::Genl::Message
7393
+ TYPE = 50
7394
+ FIXED_HEADER = nil
7395
+ ATTRIBUTE_SET = AttributeSets::Rss
7396
+ ATTRIBUTES = Ractor.make_shareable(%i[header context hfunc indir hkey input_xfrm flow_hash])
7397
+ # Gets the value of `header` attribute in the message.
7398
+ #--
7399
+ # @rbs return: AttributeSets::Header
7400
+ def header; attributes[:"header"]&.value; end
7401
+ # Gets the value of `context` attribute in the message.
7402
+ #--
7403
+ # @rbs return: ::Integer
7404
+ def context; attributes[:"context"]&.value; end
7405
+ # Gets the value of `hfunc` attribute in the message.
7406
+ #--
7407
+ # @rbs return: ::Integer
7408
+ def hfunc; attributes[:"hfunc"]&.value; end
7409
+ # Gets the value of `indir` attribute in the message.
7410
+ #--
7411
+ # @rbs return: ::String
7412
+ def indir; attributes[:"indir"]&.value; end
7413
+ # Gets the value of `hkey` attribute in the message.
7414
+ #--
7415
+ # @rbs return: ::String
7416
+ def hkey; attributes[:"hkey"]&.value; end
7417
+ # Gets the value of `input-xfrm` attribute in the message.
7418
+ #--
7419
+ # @rbs return: ::Integer
7420
+ def input_xfrm; attributes[:"input_xfrm"]&.value; end
7421
+ # Gets the value of `flow-hash` attribute in the message.
7422
+ #--
7423
+ # @rbs return: AttributeSets::Flow
7424
+ def flow_hash; attributes[:"flow_hash"]&.value; end
7425
+ end
7426
+ # Notification for creation of an additional RSS context.
7427
+ class RssCreateNtf < ::Nl::Protocols::Genl::Message
7428
+ TYPE = 52
7429
+ FIXED_HEADER = nil
7430
+ ATTRIBUTE_SET = AttributeSets::Rss
7431
+ ATTRIBUTES = Ractor.make_shareable(%i[header context hfunc indir hkey input_xfrm])
7432
+ # Gets the value of `header` attribute in the message.
7433
+ #--
7434
+ # @rbs return: AttributeSets::Header
7435
+ def header; attributes[:"header"]&.value; end
7436
+ # Gets the value of `context` attribute in the message.
7437
+ #--
7438
+ # @rbs return: ::Integer
7439
+ def context; attributes[:"context"]&.value; end
7440
+ # Gets the value of `hfunc` attribute in the message.
7441
+ #--
7442
+ # @rbs return: ::Integer
7443
+ def hfunc; attributes[:"hfunc"]&.value; end
7444
+ # Gets the value of `indir` attribute in the message.
7445
+ #--
7446
+ # @rbs return: ::String
7447
+ def indir; attributes[:"indir"]&.value; end
7448
+ # Gets the value of `hkey` attribute in the message.
7449
+ #--
7450
+ # @rbs return: ::String
7451
+ def hkey; attributes[:"hkey"]&.value; end
7452
+ # Gets the value of `input-xfrm` attribute in the message.
7453
+ #--
7454
+ # @rbs return: ::Integer
7455
+ def input_xfrm; attributes[:"input_xfrm"]&.value; end
7456
+ end
7457
+ # Notification for deletion of an additional RSS context.
7458
+ class RssDeleteNtf < ::Nl::Protocols::Genl::Message
7459
+ TYPE = 53
7460
+ FIXED_HEADER = nil
7461
+ ATTRIBUTE_SET = AttributeSets::Rss
7462
+ ATTRIBUTES = Ractor.make_shareable(%i[header context])
7463
+ # Gets the value of `header` attribute in the message.
7464
+ #--
7465
+ # @rbs return: AttributeSets::Header
7466
+ def header; attributes[:"header"]&.value; end
7467
+ # Gets the value of `context` attribute in the message.
7468
+ #--
7469
+ # @rbs return: ::Integer
7470
+ def context; attributes[:"context"]&.value; end
7471
+ end
7472
+ end
7473
+ NOTIFICATIONS = Ractor.make_shareable({3 => Notifications::LinkinfoNtf, 5 => Notifications::LinkmodesNtf, 8 => Notifications::DebugNtf, 10 => Notifications::WolNtf, 13 => Notifications::FeaturesNtf, 15 => Notifications::PrivflagsNtf, 17 => Notifications::RingsNtf, 19 => Notifications::ChannelsNtf, 21 => Notifications::CoalesceNtf, 23 => Notifications::PauseNtf, 25 => Notifications::EeeNtf, 27 => Notifications::CableTestNtf, 28 => Notifications::CableTestTdrNtf, 31 => Notifications::FecNtf, 36 => Notifications::ModuleNtf, 41 => Notifications::PlcaNtf, 43 => Notifications::MmNtf, 44 => Notifications::ModuleFwFlashNtf, 46 => Notifications::PhyNtf, 49 => Notifications::PseNtf, 50 => Notifications::RssNtf, 52 => Notifications::RssCreateNtf, 53 => Notifications::RssDeleteNtf}) #: Hash[::Integer, ::Class]
7474
+ # Get string set from the kernel.
7475
+ #--
7476
+ # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> Messages::DoStrsetGetReply
7477
+ def do_strset_get(**args)
7478
+ exchange_message(:"do", Messages::DoStrsetGetRequest, Messages::DoStrsetGetReply, args)
7479
+ end
7480
+ # Get string set from the kernel.
7481
+ #--
7482
+ # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> Enumerable[Messages::DumpStrsetGetReply]
7483
+ # | (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) { (Messages::DumpStrsetGetReply) -> void } -> void
7484
+ def dump_strset_get(**args, &block)
7485
+ exchange_message(:"dump", Messages::DumpStrsetGetRequest, Messages::DumpStrsetGetReply, args, &block)
7486
+ end
7487
+ # Get link info.
7488
+ #--
7489
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkinfoGetReply
7490
+ def do_linkinfo_get(**args)
7491
+ exchange_message(:"do", Messages::DoLinkinfoGetRequest, Messages::DoLinkinfoGetReply, args)
7492
+ end
7493
+ # Get link info.
7494
+ #--
7495
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkinfoGetReply]
7496
+ # | (?header: AttributeSets::Header) { (Messages::DumpLinkinfoGetReply) -> void } -> void
7497
+ def dump_linkinfo_get(**args, &block)
7498
+ exchange_message(:"dump", Messages::DumpLinkinfoGetRequest, Messages::DumpLinkinfoGetReply, args, &block)
7499
+ end
7500
+ # Set link info.
7501
+ #--
7502
+ # @rbs (?header: AttributeSets::Header, ?port: ::Integer, ?phyaddr: ::Integer, ?tp_mdix: ::Integer, ?tp_mdix_ctrl: ::Integer, ?transceiver: ::Integer) -> void
7503
+ def do_linkinfo_set(**args)
7504
+ exchange_message(:"do", Messages::DoLinkinfoSetRequest, nil, args)
7505
+ end
7506
+ # Get link modes.
7507
+ #--
7508
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkmodesGetReply
7509
+ def do_linkmodes_get(**args)
7510
+ exchange_message(:"do", Messages::DoLinkmodesGetRequest, Messages::DoLinkmodesGetReply, args)
7511
+ end
7512
+ # Get link modes.
7513
+ #--
7514
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkmodesGetReply]
7515
+ # | (?header: AttributeSets::Header) { (Messages::DumpLinkmodesGetReply) -> void } -> void
7516
+ def dump_linkmodes_get(**args, &block)
7517
+ exchange_message(:"dump", Messages::DumpLinkmodesGetRequest, Messages::DumpLinkmodesGetReply, args, &block)
7518
+ end
7519
+ # Set link modes.
7520
+ #--
7521
+ # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?ours: AttributeSets::Bitset, ?peer: AttributeSets::Bitset, ?speed: ::Integer, ?duplex: ::Integer, ?master_slave_cfg: ::Integer, ?master_slave_state: ::Integer, ?lanes: ::Integer, ?rate_matching: ::Integer) -> void
7522
+ def do_linkmodes_set(**args)
7523
+ exchange_message(:"do", Messages::DoLinkmodesSetRequest, nil, args)
7524
+ end
7525
+ # Get link state.
7526
+ #--
7527
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoLinkstateGetReply
7528
+ def do_linkstate_get(**args)
7529
+ exchange_message(:"do", Messages::DoLinkstateGetRequest, Messages::DoLinkstateGetReply, args)
7530
+ end
7531
+ # Get link state.
7532
+ #--
7533
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpLinkstateGetReply]
7534
+ # | (?header: AttributeSets::Header) { (Messages::DumpLinkstateGetReply) -> void } -> void
7535
+ def dump_linkstate_get(**args, &block)
7536
+ exchange_message(:"dump", Messages::DumpLinkstateGetRequest, Messages::DumpLinkstateGetReply, args, &block)
7537
+ end
7538
+ # Get debug message mask.
7539
+ #--
7540
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoDebugGetReply
7541
+ def do_debug_get(**args)
7542
+ exchange_message(:"do", Messages::DoDebugGetRequest, Messages::DoDebugGetReply, args)
7543
+ end
7544
+ # Get debug message mask.
7545
+ #--
7546
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpDebugGetReply]
7547
+ # | (?header: AttributeSets::Header) { (Messages::DumpDebugGetReply) -> void } -> void
7548
+ def dump_debug_get(**args, &block)
7549
+ exchange_message(:"dump", Messages::DumpDebugGetRequest, Messages::DumpDebugGetReply, args, &block)
7550
+ end
7551
+ # Set debug message mask.
7552
+ #--
7553
+ # @rbs (?header: AttributeSets::Header, ?msgmask: AttributeSets::Bitset) -> void
7554
+ def do_debug_set(**args)
7555
+ exchange_message(:"do", Messages::DoDebugSetRequest, nil, args)
7556
+ end
7557
+ # Get WOL params.
7558
+ #--
7559
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoWolGetReply
7560
+ def do_wol_get(**args)
7561
+ exchange_message(:"do", Messages::DoWolGetRequest, Messages::DoWolGetReply, args)
7562
+ end
7563
+ # Get WOL params.
7564
+ #--
7565
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpWolGetReply]
7566
+ # | (?header: AttributeSets::Header) { (Messages::DumpWolGetReply) -> void } -> void
7567
+ def dump_wol_get(**args, &block)
7568
+ exchange_message(:"dump", Messages::DumpWolGetRequest, Messages::DumpWolGetReply, args, &block)
7569
+ end
7570
+ # Set WOL params.
7571
+ #--
7572
+ # @rbs (?header: AttributeSets::Header, ?modes: AttributeSets::Bitset, ?sopass: ::String) -> void
7573
+ def do_wol_set(**args)
7574
+ exchange_message(:"do", Messages::DoWolSetRequest, nil, args)
7575
+ end
7576
+ # Get features.
7577
+ #--
7578
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoFeaturesGetReply
7579
+ def do_features_get(**args)
7580
+ exchange_message(:"do", Messages::DoFeaturesGetRequest, Messages::DoFeaturesGetReply, args)
7581
+ end
7582
+ # Get features.
7583
+ #--
7584
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpFeaturesGetReply]
7585
+ # | (?header: AttributeSets::Header) { (Messages::DumpFeaturesGetReply) -> void } -> void
7586
+ def dump_features_get(**args, &block)
7587
+ exchange_message(:"dump", Messages::DumpFeaturesGetRequest, Messages::DumpFeaturesGetReply, args, &block)
7588
+ end
7589
+ # Set features.
7590
+ #--
7591
+ # @rbs (?header: AttributeSets::Header, ?hw: AttributeSets::Bitset, ?wanted: AttributeSets::Bitset, ?active: AttributeSets::Bitset, ?nochange: AttributeSets::Bitset) -> Messages::DoFeaturesSetReply
7592
+ def do_features_set(**args)
7593
+ exchange_message(:"do", Messages::DoFeaturesSetRequest, Messages::DoFeaturesSetReply, args)
7594
+ end
7595
+ # Get device private flags.
7596
+ #--
7597
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoPrivflagsGetReply
7598
+ def do_privflags_get(**args)
7599
+ exchange_message(:"do", Messages::DoPrivflagsGetRequest, Messages::DoPrivflagsGetReply, args)
7600
+ end
7601
+ # Get device private flags.
7602
+ #--
7603
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpPrivflagsGetReply]
7604
+ # | (?header: AttributeSets::Header) { (Messages::DumpPrivflagsGetReply) -> void } -> void
7605
+ def dump_privflags_get(**args, &block)
7606
+ exchange_message(:"dump", Messages::DumpPrivflagsGetRequest, Messages::DumpPrivflagsGetReply, args, &block)
7607
+ end
7608
+ # Set device private flags.
7609
+ #--
7610
+ # @rbs (?header: AttributeSets::Header, ?flags: AttributeSets::Bitset) -> void
7611
+ def do_privflags_set(**args)
7612
+ exchange_message(:"do", Messages::DoPrivflagsSetRequest, nil, args)
7613
+ end
7614
+ # Get ring params.
7615
+ #--
7616
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoRingsGetReply
7617
+ def do_rings_get(**args)
7618
+ exchange_message(:"do", Messages::DoRingsGetRequest, Messages::DoRingsGetReply, args)
7619
+ end
7620
+ # Get ring params.
7621
+ #--
7622
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpRingsGetReply]
7623
+ # | (?header: AttributeSets::Header) { (Messages::DumpRingsGetReply) -> void } -> void
7624
+ def dump_rings_get(**args, &block)
7625
+ exchange_message(:"dump", Messages::DumpRingsGetRequest, Messages::DumpRingsGetReply, args, &block)
7626
+ end
7627
+ # Set ring params.
7628
+ #--
7629
+ # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?rx_mini_max: ::Integer, ?rx_jumbo_max: ::Integer, ?tx_max: ::Integer, ?rx: ::Integer, ?rx_mini: ::Integer, ?rx_jumbo: ::Integer, ?tx: ::Integer, ?rx_buf_len: ::Integer, ?tcp_data_split: ::Integer, ?cqe_size: ::Integer, ?tx_push: ::Integer, ?rx_push: ::Integer, ?tx_push_buf_len: ::Integer, ?tx_push_buf_len_max: ::Integer, ?hds_thresh: ::Integer, ?hds_thresh_max: ::Integer) -> void
7630
+ def do_rings_set(**args)
7631
+ exchange_message(:"do", Messages::DoRingsSetRequest, nil, args)
7632
+ end
7633
+ # Get channel params.
7634
+ #--
7635
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoChannelsGetReply
7636
+ def do_channels_get(**args)
7637
+ exchange_message(:"do", Messages::DoChannelsGetRequest, Messages::DoChannelsGetReply, args)
7638
+ end
7639
+ # Get channel params.
7640
+ #--
7641
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpChannelsGetReply]
7642
+ # | (?header: AttributeSets::Header) { (Messages::DumpChannelsGetReply) -> void } -> void
7643
+ def dump_channels_get(**args, &block)
7644
+ exchange_message(:"dump", Messages::DumpChannelsGetRequest, Messages::DumpChannelsGetReply, args, &block)
7645
+ end
7646
+ # Set channel params.
7647
+ #--
7648
+ # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?tx_max: ::Integer, ?other_max: ::Integer, ?combined_max: ::Integer, ?rx_count: ::Integer, ?tx_count: ::Integer, ?other_count: ::Integer, ?combined_count: ::Integer) -> void
7649
+ def do_channels_set(**args)
7650
+ exchange_message(:"do", Messages::DoChannelsSetRequest, nil, args)
7651
+ end
7652
+ # Get coalesce params.
7653
+ #--
7654
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoCoalesceGetReply
7655
+ def do_coalesce_get(**args)
7656
+ exchange_message(:"do", Messages::DoCoalesceGetRequest, Messages::DoCoalesceGetReply, args)
7657
+ end
7658
+ # Get coalesce params.
7659
+ #--
7660
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpCoalesceGetReply]
7661
+ # | (?header: AttributeSets::Header) { (Messages::DumpCoalesceGetReply) -> void } -> void
7662
+ def dump_coalesce_get(**args, &block)
7663
+ exchange_message(:"dump", Messages::DumpCoalesceGetRequest, Messages::DumpCoalesceGetReply, args, &block)
7664
+ end
7665
+ # Set coalesce params.
7666
+ #--
7667
+ # @rbs (?header: AttributeSets::Header, ?rx_usecs: ::Integer, ?rx_max_frames: ::Integer, ?rx_usecs_irq: ::Integer, ?rx_max_frames_irq: ::Integer, ?tx_usecs: ::Integer, ?tx_max_frames: ::Integer, ?tx_usecs_irq: ::Integer, ?tx_max_frames_irq: ::Integer, ?stats_block_usecs: ::Integer, ?use_adaptive_rx: ::Integer, ?use_adaptive_tx: ::Integer, ?pkt_rate_low: ::Integer, ?rx_usecs_low: ::Integer, ?rx_max_frames_low: ::Integer, ?tx_usecs_low: ::Integer, ?tx_max_frames_low: ::Integer, ?pkt_rate_high: ::Integer, ?rx_usecs_high: ::Integer, ?rx_max_frames_high: ::Integer, ?tx_usecs_high: ::Integer, ?tx_max_frames_high: ::Integer, ?rate_sample_interval: ::Integer, ?use_cqe_mode_tx: ::Integer, ?use_cqe_mode_rx: ::Integer, ?tx_aggr_max_bytes: ::Integer, ?tx_aggr_max_frames: ::Integer, ?tx_aggr_time_usecs: ::Integer, ?rx_profile: AttributeSets::Profile, ?tx_profile: AttributeSets::Profile, ?rx_cqe_frames: ::Integer, ?rx_cqe_nsecs: ::Integer) -> void
7668
+ def do_coalesce_set(**args)
7669
+ exchange_message(:"do", Messages::DoCoalesceSetRequest, nil, args)
7670
+ end
7671
+ # Get pause params.
7672
+ #--
7673
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoPauseGetReply
7674
+ def do_pause_get(**args)
7675
+ exchange_message(:"do", Messages::DoPauseGetRequest, Messages::DoPauseGetReply, args)
7676
+ end
7677
+ # Get pause params.
7678
+ #--
7679
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpPauseGetReply]
7680
+ # | (?header: AttributeSets::Header) { (Messages::DumpPauseGetReply) -> void } -> void
7681
+ def dump_pause_get(**args, &block)
7682
+ exchange_message(:"dump", Messages::DumpPauseGetRequest, Messages::DumpPauseGetReply, args, &block)
7683
+ end
7684
+ # Set pause params.
7685
+ #--
7686
+ # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?rx: ::Integer, ?tx: ::Integer, ?stats: AttributeSets::PauseStat, ?stats_src: ::Integer) -> void
7687
+ def do_pause_set(**args)
7688
+ exchange_message(:"do", Messages::DoPauseSetRequest, nil, args)
7689
+ end
7690
+ # Get eee params.
7691
+ #--
7692
+ # @rbs (?header: AttributeSets::Header) -> Messages::DoEeeGetReply
7693
+ def do_eee_get(**args)
7694
+ exchange_message(:"do", Messages::DoEeeGetRequest, Messages::DoEeeGetReply, args)
7695
+ end
7696
+ # Get eee params.
7697
+ #--
7698
+ # @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpEeeGetReply]
7699
+ # | (?header: AttributeSets::Header) { (Messages::DumpEeeGetReply) -> void } -> void
7700
+ def dump_eee_get(**args, &block)
7701
+ exchange_message(:"dump", Messages::DumpEeeGetRequest, Messages::DumpEeeGetReply, args, &block)
7702
+ end
7703
+ # Set eee params.
7704
+ #--
7705
+ # @rbs (?header: AttributeSets::Header, ?modes_ours: AttributeSets::Bitset, ?modes_peer: AttributeSets::Bitset, ?active: ::Integer, ?enabled: ::Integer, ?tx_lpi_enabled: ::Integer, ?tx_lpi_timer: ::Integer) -> void
7706
+ def do_eee_set(**args)
7707
+ exchange_message(:"do", Messages::DoEeeSetRequest, nil, args)
7708
+ end
7709
+ # Get tsinfo params.
7710
+ #--
7711
+ # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) -> Messages::DoTsinfoGetReply
7712
+ def do_tsinfo_get(**args)
7713
+ exchange_message(:"do", Messages::DoTsinfoGetRequest, Messages::DoTsinfoGetReply, args)
7714
+ end
7715
+ # Get tsinfo params.
6899
7716
  #--
6900
7717
  # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) -> Enumerable[Messages::DumpTsinfoGetReply]
6901
7718
  # | (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) { (Messages::DumpTsinfoGetReply) -> void } -> void
@@ -7127,13 +7944,13 @@ class Ethtool < ::Nl::Family
7127
7944
  end
7128
7945
  # Set RSS params.
7129
7946
  #--
7130
- # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: untyped, ?hkey: untyped, ?input_xfrm: ::Integer, ?flow_hash: AttributeSets::Flow) -> void
7947
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer, ?flow_hash: AttributeSets::Flow) -> void
7131
7948
  def do_rss_set(**args)
7132
7949
  exchange_message(:"do", Messages::DoRssSetRequest, nil, args)
7133
7950
  end
7134
7951
  # Create an RSS context.
7135
7952
  #--
7136
- # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: untyped, ?hkey: untyped, ?input_xfrm: ::Integer) -> Messages::DoRssCreateActReply
7953
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer) -> Messages::DoRssCreateActReply
7137
7954
  def do_rss_create_act(**args)
7138
7955
  exchange_message(:"do", Messages::DoRssCreateActRequest, Messages::DoRssCreateActReply, args)
7139
7956
  end
@@ -7156,5 +7973,498 @@ class Ethtool < ::Nl::Family
7156
7973
  def dump_mse_get(**args, &block)
7157
7974
  exchange_message(:"dump", Messages::DumpMseGetRequest, Messages::DumpMseGetReply, args, &block)
7158
7975
  end
7976
+ class AsyncOperations
7977
+ # :nodoc:
7978
+ def initialize(&exchange)
7979
+ @exchange = exchange
7980
+ end
7981
+ # Get string set from the kernel.
7982
+ #--
7983
+ # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> ::Nl::Async::Future[Messages::DoStrsetGetReply]
7984
+ def do_strset_get(**args)
7985
+ @exchange.call(:"do", Messages::DoStrsetGetRequest, Messages::DoStrsetGetReply, args)
7986
+ end
7987
+ # Get string set from the kernel.
7988
+ #--
7989
+ # @rbs (?header: AttributeSets::Header, ?stringsets: AttributeSets::Stringsets, ?counts_only: ::Integer) -> ::Nl::Async::Stream[Messages::DumpStrsetGetReply]
7990
+ def dump_strset_get(**args)
7991
+ @exchange.call(:"dump", Messages::DumpStrsetGetRequest, Messages::DumpStrsetGetReply, args)
7992
+ end
7993
+ # Get link info.
7994
+ #--
7995
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoLinkinfoGetReply]
7996
+ def do_linkinfo_get(**args)
7997
+ @exchange.call(:"do", Messages::DoLinkinfoGetRequest, Messages::DoLinkinfoGetReply, args)
7998
+ end
7999
+ # Get link info.
8000
+ #--
8001
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpLinkinfoGetReply]
8002
+ def dump_linkinfo_get(**args)
8003
+ @exchange.call(:"dump", Messages::DumpLinkinfoGetRequest, Messages::DumpLinkinfoGetReply, args)
8004
+ end
8005
+ # Set link info.
8006
+ #--
8007
+ # @rbs (?header: AttributeSets::Header, ?port: ::Integer, ?phyaddr: ::Integer, ?tp_mdix: ::Integer, ?tp_mdix_ctrl: ::Integer, ?transceiver: ::Integer) -> ::Nl::Async::Future[void]
8008
+ def do_linkinfo_set(**args)
8009
+ @exchange.call(:"do", Messages::DoLinkinfoSetRequest, nil, args)
8010
+ end
8011
+ # Get link modes.
8012
+ #--
8013
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoLinkmodesGetReply]
8014
+ def do_linkmodes_get(**args)
8015
+ @exchange.call(:"do", Messages::DoLinkmodesGetRequest, Messages::DoLinkmodesGetReply, args)
8016
+ end
8017
+ # Get link modes.
8018
+ #--
8019
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpLinkmodesGetReply]
8020
+ def dump_linkmodes_get(**args)
8021
+ @exchange.call(:"dump", Messages::DumpLinkmodesGetRequest, Messages::DumpLinkmodesGetReply, args)
8022
+ end
8023
+ # Set link modes.
8024
+ #--
8025
+ # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?ours: AttributeSets::Bitset, ?peer: AttributeSets::Bitset, ?speed: ::Integer, ?duplex: ::Integer, ?master_slave_cfg: ::Integer, ?master_slave_state: ::Integer, ?lanes: ::Integer, ?rate_matching: ::Integer) -> ::Nl::Async::Future[void]
8026
+ def do_linkmodes_set(**args)
8027
+ @exchange.call(:"do", Messages::DoLinkmodesSetRequest, nil, args)
8028
+ end
8029
+ # Get link state.
8030
+ #--
8031
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoLinkstateGetReply]
8032
+ def do_linkstate_get(**args)
8033
+ @exchange.call(:"do", Messages::DoLinkstateGetRequest, Messages::DoLinkstateGetReply, args)
8034
+ end
8035
+ # Get link state.
8036
+ #--
8037
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpLinkstateGetReply]
8038
+ def dump_linkstate_get(**args)
8039
+ @exchange.call(:"dump", Messages::DumpLinkstateGetRequest, Messages::DumpLinkstateGetReply, args)
8040
+ end
8041
+ # Get debug message mask.
8042
+ #--
8043
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoDebugGetReply]
8044
+ def do_debug_get(**args)
8045
+ @exchange.call(:"do", Messages::DoDebugGetRequest, Messages::DoDebugGetReply, args)
8046
+ end
8047
+ # Get debug message mask.
8048
+ #--
8049
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpDebugGetReply]
8050
+ def dump_debug_get(**args)
8051
+ @exchange.call(:"dump", Messages::DumpDebugGetRequest, Messages::DumpDebugGetReply, args)
8052
+ end
8053
+ # Set debug message mask.
8054
+ #--
8055
+ # @rbs (?header: AttributeSets::Header, ?msgmask: AttributeSets::Bitset) -> ::Nl::Async::Future[void]
8056
+ def do_debug_set(**args)
8057
+ @exchange.call(:"do", Messages::DoDebugSetRequest, nil, args)
8058
+ end
8059
+ # Get WOL params.
8060
+ #--
8061
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoWolGetReply]
8062
+ def do_wol_get(**args)
8063
+ @exchange.call(:"do", Messages::DoWolGetRequest, Messages::DoWolGetReply, args)
8064
+ end
8065
+ # Get WOL params.
8066
+ #--
8067
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpWolGetReply]
8068
+ def dump_wol_get(**args)
8069
+ @exchange.call(:"dump", Messages::DumpWolGetRequest, Messages::DumpWolGetReply, args)
8070
+ end
8071
+ # Set WOL params.
8072
+ #--
8073
+ # @rbs (?header: AttributeSets::Header, ?modes: AttributeSets::Bitset, ?sopass: ::String) -> ::Nl::Async::Future[void]
8074
+ def do_wol_set(**args)
8075
+ @exchange.call(:"do", Messages::DoWolSetRequest, nil, args)
8076
+ end
8077
+ # Get features.
8078
+ #--
8079
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoFeaturesGetReply]
8080
+ def do_features_get(**args)
8081
+ @exchange.call(:"do", Messages::DoFeaturesGetRequest, Messages::DoFeaturesGetReply, args)
8082
+ end
8083
+ # Get features.
8084
+ #--
8085
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpFeaturesGetReply]
8086
+ def dump_features_get(**args)
8087
+ @exchange.call(:"dump", Messages::DumpFeaturesGetRequest, Messages::DumpFeaturesGetReply, args)
8088
+ end
8089
+ # Set features.
8090
+ #--
8091
+ # @rbs (?header: AttributeSets::Header, ?hw: AttributeSets::Bitset, ?wanted: AttributeSets::Bitset, ?active: AttributeSets::Bitset, ?nochange: AttributeSets::Bitset) -> ::Nl::Async::Future[Messages::DoFeaturesSetReply]
8092
+ def do_features_set(**args)
8093
+ @exchange.call(:"do", Messages::DoFeaturesSetRequest, Messages::DoFeaturesSetReply, args)
8094
+ end
8095
+ # Get device private flags.
8096
+ #--
8097
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPrivflagsGetReply]
8098
+ def do_privflags_get(**args)
8099
+ @exchange.call(:"do", Messages::DoPrivflagsGetRequest, Messages::DoPrivflagsGetReply, args)
8100
+ end
8101
+ # Get device private flags.
8102
+ #--
8103
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPrivflagsGetReply]
8104
+ def dump_privflags_get(**args)
8105
+ @exchange.call(:"dump", Messages::DumpPrivflagsGetRequest, Messages::DumpPrivflagsGetReply, args)
8106
+ end
8107
+ # Set device private flags.
8108
+ #--
8109
+ # @rbs (?header: AttributeSets::Header, ?flags: AttributeSets::Bitset) -> ::Nl::Async::Future[void]
8110
+ def do_privflags_set(**args)
8111
+ @exchange.call(:"do", Messages::DoPrivflagsSetRequest, nil, args)
8112
+ end
8113
+ # Get ring params.
8114
+ #--
8115
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoRingsGetReply]
8116
+ def do_rings_get(**args)
8117
+ @exchange.call(:"do", Messages::DoRingsGetRequest, Messages::DoRingsGetReply, args)
8118
+ end
8119
+ # Get ring params.
8120
+ #--
8121
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpRingsGetReply]
8122
+ def dump_rings_get(**args)
8123
+ @exchange.call(:"dump", Messages::DumpRingsGetRequest, Messages::DumpRingsGetReply, args)
8124
+ end
8125
+ # Set ring params.
8126
+ #--
8127
+ # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?rx_mini_max: ::Integer, ?rx_jumbo_max: ::Integer, ?tx_max: ::Integer, ?rx: ::Integer, ?rx_mini: ::Integer, ?rx_jumbo: ::Integer, ?tx: ::Integer, ?rx_buf_len: ::Integer, ?tcp_data_split: ::Integer, ?cqe_size: ::Integer, ?tx_push: ::Integer, ?rx_push: ::Integer, ?tx_push_buf_len: ::Integer, ?tx_push_buf_len_max: ::Integer, ?hds_thresh: ::Integer, ?hds_thresh_max: ::Integer) -> ::Nl::Async::Future[void]
8128
+ def do_rings_set(**args)
8129
+ @exchange.call(:"do", Messages::DoRingsSetRequest, nil, args)
8130
+ end
8131
+ # Get channel params.
8132
+ #--
8133
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoChannelsGetReply]
8134
+ def do_channels_get(**args)
8135
+ @exchange.call(:"do", Messages::DoChannelsGetRequest, Messages::DoChannelsGetReply, args)
8136
+ end
8137
+ # Get channel params.
8138
+ #--
8139
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpChannelsGetReply]
8140
+ def dump_channels_get(**args)
8141
+ @exchange.call(:"dump", Messages::DumpChannelsGetRequest, Messages::DumpChannelsGetReply, args)
8142
+ end
8143
+ # Set channel params.
8144
+ #--
8145
+ # @rbs (?header: AttributeSets::Header, ?rx_max: ::Integer, ?tx_max: ::Integer, ?other_max: ::Integer, ?combined_max: ::Integer, ?rx_count: ::Integer, ?tx_count: ::Integer, ?other_count: ::Integer, ?combined_count: ::Integer) -> ::Nl::Async::Future[void]
8146
+ def do_channels_set(**args)
8147
+ @exchange.call(:"do", Messages::DoChannelsSetRequest, nil, args)
8148
+ end
8149
+ # Get coalesce params.
8150
+ #--
8151
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoCoalesceGetReply]
8152
+ def do_coalesce_get(**args)
8153
+ @exchange.call(:"do", Messages::DoCoalesceGetRequest, Messages::DoCoalesceGetReply, args)
8154
+ end
8155
+ # Get coalesce params.
8156
+ #--
8157
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpCoalesceGetReply]
8158
+ def dump_coalesce_get(**args)
8159
+ @exchange.call(:"dump", Messages::DumpCoalesceGetRequest, Messages::DumpCoalesceGetReply, args)
8160
+ end
8161
+ # Set coalesce params.
8162
+ #--
8163
+ # @rbs (?header: AttributeSets::Header, ?rx_usecs: ::Integer, ?rx_max_frames: ::Integer, ?rx_usecs_irq: ::Integer, ?rx_max_frames_irq: ::Integer, ?tx_usecs: ::Integer, ?tx_max_frames: ::Integer, ?tx_usecs_irq: ::Integer, ?tx_max_frames_irq: ::Integer, ?stats_block_usecs: ::Integer, ?use_adaptive_rx: ::Integer, ?use_adaptive_tx: ::Integer, ?pkt_rate_low: ::Integer, ?rx_usecs_low: ::Integer, ?rx_max_frames_low: ::Integer, ?tx_usecs_low: ::Integer, ?tx_max_frames_low: ::Integer, ?pkt_rate_high: ::Integer, ?rx_usecs_high: ::Integer, ?rx_max_frames_high: ::Integer, ?tx_usecs_high: ::Integer, ?tx_max_frames_high: ::Integer, ?rate_sample_interval: ::Integer, ?use_cqe_mode_tx: ::Integer, ?use_cqe_mode_rx: ::Integer, ?tx_aggr_max_bytes: ::Integer, ?tx_aggr_max_frames: ::Integer, ?tx_aggr_time_usecs: ::Integer, ?rx_profile: AttributeSets::Profile, ?tx_profile: AttributeSets::Profile, ?rx_cqe_frames: ::Integer, ?rx_cqe_nsecs: ::Integer) -> ::Nl::Async::Future[void]
8164
+ def do_coalesce_set(**args)
8165
+ @exchange.call(:"do", Messages::DoCoalesceSetRequest, nil, args)
8166
+ end
8167
+ # Get pause params.
8168
+ #--
8169
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPauseGetReply]
8170
+ def do_pause_get(**args)
8171
+ @exchange.call(:"do", Messages::DoPauseGetRequest, Messages::DoPauseGetReply, args)
8172
+ end
8173
+ # Get pause params.
8174
+ #--
8175
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPauseGetReply]
8176
+ def dump_pause_get(**args)
8177
+ @exchange.call(:"dump", Messages::DumpPauseGetRequest, Messages::DumpPauseGetReply, args)
8178
+ end
8179
+ # Set pause params.
8180
+ #--
8181
+ # @rbs (?header: AttributeSets::Header, ?autoneg: ::Integer, ?rx: ::Integer, ?tx: ::Integer, ?stats: AttributeSets::PauseStat, ?stats_src: ::Integer) -> ::Nl::Async::Future[void]
8182
+ def do_pause_set(**args)
8183
+ @exchange.call(:"do", Messages::DoPauseSetRequest, nil, args)
8184
+ end
8185
+ # Get eee params.
8186
+ #--
8187
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoEeeGetReply]
8188
+ def do_eee_get(**args)
8189
+ @exchange.call(:"do", Messages::DoEeeGetRequest, Messages::DoEeeGetReply, args)
8190
+ end
8191
+ # Get eee params.
8192
+ #--
8193
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpEeeGetReply]
8194
+ def dump_eee_get(**args)
8195
+ @exchange.call(:"dump", Messages::DumpEeeGetRequest, Messages::DumpEeeGetReply, args)
8196
+ end
8197
+ # Set eee params.
8198
+ #--
8199
+ # @rbs (?header: AttributeSets::Header, ?modes_ours: AttributeSets::Bitset, ?modes_peer: AttributeSets::Bitset, ?active: ::Integer, ?enabled: ::Integer, ?tx_lpi_enabled: ::Integer, ?tx_lpi_timer: ::Integer) -> ::Nl::Async::Future[void]
8200
+ def do_eee_set(**args)
8201
+ @exchange.call(:"do", Messages::DoEeeSetRequest, nil, args)
8202
+ end
8203
+ # Get tsinfo params.
8204
+ #--
8205
+ # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) -> ::Nl::Async::Future[Messages::DoTsinfoGetReply]
8206
+ def do_tsinfo_get(**args)
8207
+ @exchange.call(:"do", Messages::DoTsinfoGetRequest, Messages::DoTsinfoGetReply, args)
8208
+ end
8209
+ # Get tsinfo params.
8210
+ #--
8211
+ # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider) -> ::Nl::Async::Stream[Messages::DumpTsinfoGetReply]
8212
+ def dump_tsinfo_get(**args)
8213
+ @exchange.call(:"dump", Messages::DumpTsinfoGetRequest, Messages::DumpTsinfoGetReply, args)
8214
+ end
8215
+ # Cable test.
8216
+ #--
8217
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[void]
8218
+ def do_cable_test_act(**args)
8219
+ @exchange.call(:"do", Messages::DoCableTestActRequest, nil, args)
8220
+ end
8221
+ # Cable test TDR.
8222
+ #--
8223
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[void]
8224
+ def do_cable_test_tdr_act(**args)
8225
+ @exchange.call(:"do", Messages::DoCableTestTdrActRequest, nil, args)
8226
+ end
8227
+ # Get tsinfo params.
8228
+ #--
8229
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoTunnelInfoGetReply]
8230
+ def do_tunnel_info_get(**args)
8231
+ @exchange.call(:"do", Messages::DoTunnelInfoGetRequest, Messages::DoTunnelInfoGetReply, args)
8232
+ end
8233
+ # Get tsinfo params.
8234
+ #--
8235
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpTunnelInfoGetReply]
8236
+ def dump_tunnel_info_get(**args)
8237
+ @exchange.call(:"dump", Messages::DumpTunnelInfoGetRequest, Messages::DumpTunnelInfoGetReply, args)
8238
+ end
8239
+ # Get FEC params.
8240
+ #--
8241
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoFecGetReply]
8242
+ def do_fec_get(**args)
8243
+ @exchange.call(:"do", Messages::DoFecGetRequest, Messages::DoFecGetReply, args)
8244
+ end
8245
+ # Get FEC params.
8246
+ #--
8247
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpFecGetReply]
8248
+ def dump_fec_get(**args)
8249
+ @exchange.call(:"dump", Messages::DumpFecGetRequest, Messages::DumpFecGetReply, args)
8250
+ end
8251
+ # Set FEC params.
8252
+ #--
8253
+ # @rbs (?header: AttributeSets::Header, ?modes: AttributeSets::Bitset, ?auto: ::Integer, ?active: ::Integer, ?stats: AttributeSets::FecStat) -> ::Nl::Async::Future[void]
8254
+ def do_fec_set(**args)
8255
+ @exchange.call(:"do", Messages::DoFecSetRequest, nil, args)
8256
+ end
8257
+ # Get module EEPROM params.
8258
+ #--
8259
+ # @rbs (?header: AttributeSets::Header, ?offset: ::Integer, ?length: ::Integer, ?page: ::Integer, ?bank: ::Integer, ?i2c_address: ::Integer) -> ::Nl::Async::Future[Messages::DoModuleEepromGetReply]
8260
+ def do_module_eeprom_get(**args)
8261
+ @exchange.call(:"do", Messages::DoModuleEepromGetRequest, Messages::DoModuleEepromGetReply, args)
8262
+ end
8263
+ # Get module EEPROM params.
8264
+ #--
8265
+ # @rbs (?header: AttributeSets::Header, ?offset: ::Integer, ?length: ::Integer, ?page: ::Integer, ?bank: ::Integer, ?i2c_address: ::Integer) -> ::Nl::Async::Stream[Messages::DumpModuleEepromGetReply]
8266
+ def dump_module_eeprom_get(**args)
8267
+ @exchange.call(:"dump", Messages::DumpModuleEepromGetRequest, Messages::DumpModuleEepromGetReply, args)
8268
+ end
8269
+ # Get statistics.
8270
+ #--
8271
+ # @rbs (?header: AttributeSets::Header, ?groups: AttributeSets::Bitset) -> ::Nl::Async::Future[Messages::DoStatsGetReply]
8272
+ def do_stats_get(**args)
8273
+ @exchange.call(:"do", Messages::DoStatsGetRequest, Messages::DoStatsGetReply, args)
8274
+ end
8275
+ # Get statistics.
8276
+ #--
8277
+ # @rbs (?header: AttributeSets::Header, ?groups: AttributeSets::Bitset) -> ::Nl::Async::Stream[Messages::DumpStatsGetReply]
8278
+ def dump_stats_get(**args)
8279
+ @exchange.call(:"dump", Messages::DumpStatsGetRequest, Messages::DumpStatsGetReply, args)
8280
+ end
8281
+ # Get PHC VCLOCKs.
8282
+ #--
8283
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPhcVclocksGetReply]
8284
+ def do_phc_vclocks_get(**args)
8285
+ @exchange.call(:"do", Messages::DoPhcVclocksGetRequest, Messages::DoPhcVclocksGetReply, args)
8286
+ end
8287
+ # Get PHC VCLOCKs.
8288
+ #--
8289
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPhcVclocksGetReply]
8290
+ def dump_phc_vclocks_get(**args)
8291
+ @exchange.call(:"dump", Messages::DumpPhcVclocksGetRequest, Messages::DumpPhcVclocksGetReply, args)
8292
+ end
8293
+ # Get module params.
8294
+ #--
8295
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoModuleGetReply]
8296
+ def do_module_get(**args)
8297
+ @exchange.call(:"do", Messages::DoModuleGetRequest, Messages::DoModuleGetReply, args)
8298
+ end
8299
+ # Get module params.
8300
+ #--
8301
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpModuleGetReply]
8302
+ def dump_module_get(**args)
8303
+ @exchange.call(:"dump", Messages::DumpModuleGetRequest, Messages::DumpModuleGetReply, args)
8304
+ end
8305
+ # Set module params.
8306
+ #--
8307
+ # @rbs (?header: AttributeSets::Header, ?power_mode_policy: ::Integer, ?power_mode: ::Integer) -> ::Nl::Async::Future[void]
8308
+ def do_module_set(**args)
8309
+ @exchange.call(:"do", Messages::DoModuleSetRequest, nil, args)
8310
+ end
8311
+ # Get Power Sourcing Equipment params.
8312
+ #--
8313
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPseGetReply]
8314
+ def do_pse_get(**args)
8315
+ @exchange.call(:"do", Messages::DoPseGetRequest, Messages::DoPseGetReply, args)
8316
+ end
8317
+ # Get Power Sourcing Equipment params.
8318
+ #--
8319
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPseGetReply]
8320
+ def dump_pse_get(**args)
8321
+ @exchange.call(:"dump", Messages::DumpPseGetRequest, Messages::DumpPseGetReply, args)
8322
+ end
8323
+ # Set Power Sourcing Equipment params.
8324
+ #--
8325
+ # @rbs (?header: AttributeSets::Header, ?podl_pse_admin_control: ::Integer, ?c33_pse_admin_control: ::Integer, ?c33_pse_avail_pw_limit: ::Integer, ?pse_prio: ::Integer) -> ::Nl::Async::Future[void]
8326
+ def do_pse_set(**args)
8327
+ @exchange.call(:"do", Messages::DoPseSetRequest, nil, args)
8328
+ end
8329
+ # Get RSS params.
8330
+ #--
8331
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer) -> ::Nl::Async::Future[Messages::DoRssGetReply]
8332
+ def do_rss_get(**args)
8333
+ @exchange.call(:"do", Messages::DoRssGetRequest, Messages::DoRssGetReply, args)
8334
+ end
8335
+ # Get RSS params.
8336
+ #--
8337
+ # @rbs (?header: AttributeSets::Header, ?start_context: ::Integer) -> ::Nl::Async::Stream[Messages::DumpRssGetReply]
8338
+ def dump_rss_get(**args)
8339
+ @exchange.call(:"dump", Messages::DumpRssGetRequest, Messages::DumpRssGetReply, args)
8340
+ end
8341
+ # Get PLCA params.
8342
+ #--
8343
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPlcaGetCfgReply]
8344
+ def do_plca_get_cfg(**args)
8345
+ @exchange.call(:"do", Messages::DoPlcaGetCfgRequest, Messages::DoPlcaGetCfgReply, args)
8346
+ end
8347
+ # Get PLCA params.
8348
+ #--
8349
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPlcaGetCfgReply]
8350
+ def dump_plca_get_cfg(**args)
8351
+ @exchange.call(:"dump", Messages::DumpPlcaGetCfgRequest, Messages::DumpPlcaGetCfgReply, args)
8352
+ end
8353
+ # Set PLCA params.
8354
+ #--
8355
+ # @rbs (?header: AttributeSets::Header, ?version: ::Integer, ?enabled: ::Integer, ?status: ::Integer, ?node_cnt: ::Integer, ?node_id: ::Integer, ?to_tmr: ::Integer, ?burst_cnt: ::Integer, ?burst_tmr: ::Integer) -> ::Nl::Async::Future[void]
8356
+ def do_plca_set_cfg(**args)
8357
+ @exchange.call(:"do", Messages::DoPlcaSetCfgRequest, nil, args)
8358
+ end
8359
+ # Get PLCA status params.
8360
+ #--
8361
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPlcaGetStatusReply]
8362
+ def do_plca_get_status(**args)
8363
+ @exchange.call(:"do", Messages::DoPlcaGetStatusRequest, Messages::DoPlcaGetStatusReply, args)
8364
+ end
8365
+ # Get PLCA status params.
8366
+ #--
8367
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPlcaGetStatusReply]
8368
+ def dump_plca_get_status(**args)
8369
+ @exchange.call(:"dump", Messages::DumpPlcaGetStatusRequest, Messages::DumpPlcaGetStatusReply, args)
8370
+ end
8371
+ # Get MAC Merge configuration and state
8372
+ #--
8373
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoMmGetReply]
8374
+ def do_mm_get(**args)
8375
+ @exchange.call(:"do", Messages::DoMmGetRequest, Messages::DoMmGetReply, args)
8376
+ end
8377
+ # Get MAC Merge configuration and state
8378
+ #--
8379
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpMmGetReply]
8380
+ def dump_mm_get(**args)
8381
+ @exchange.call(:"dump", Messages::DumpMmGetRequest, Messages::DumpMmGetReply, args)
8382
+ end
8383
+ # Set MAC Merge configuration
8384
+ #--
8385
+ # @rbs (?header: AttributeSets::Header, ?pmac_enabled: ::Integer, ?tx_enabled: ::Integer, ?tx_min_frag_size: ::Integer, ?verify_enabled: ::Integer, ?verify_time: ::Integer) -> ::Nl::Async::Future[void]
8386
+ def do_mm_set(**args)
8387
+ @exchange.call(:"do", Messages::DoMmSetRequest, nil, args)
8388
+ end
8389
+ # Flash transceiver module firmware.
8390
+ #--
8391
+ # @rbs (?header: AttributeSets::Header, ?file_name: ::String, ?password: ::Integer) -> ::Nl::Async::Future[void]
8392
+ def do_module_fw_flash_act(**args)
8393
+ @exchange.call(:"do", Messages::DoModuleFwFlashActRequest, nil, args)
8394
+ end
8395
+ # Get PHY devices attached to an interface
8396
+ #--
8397
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoPhyGetReply]
8398
+ def do_phy_get(**args)
8399
+ @exchange.call(:"do", Messages::DoPhyGetRequest, Messages::DoPhyGetReply, args)
8400
+ end
8401
+ # Get PHY devices attached to an interface
8402
+ #--
8403
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpPhyGetReply]
8404
+ def dump_phy_get(**args)
8405
+ @exchange.call(:"dump", Messages::DumpPhyGetRequest, Messages::DumpPhyGetReply, args)
8406
+ end
8407
+ # Get hwtstamp config.
8408
+ #--
8409
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoTsconfigGetReply]
8410
+ def do_tsconfig_get(**args)
8411
+ @exchange.call(:"do", Messages::DoTsconfigGetRequest, Messages::DoTsconfigGetReply, args)
8412
+ end
8413
+ # Get hwtstamp config.
8414
+ #--
8415
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpTsconfigGetReply]
8416
+ def dump_tsconfig_get(**args)
8417
+ @exchange.call(:"dump", Messages::DumpTsconfigGetRequest, Messages::DumpTsconfigGetReply, args)
8418
+ end
8419
+ # Set hwtstamp config.
8420
+ #--
8421
+ # @rbs (?header: AttributeSets::Header, ?hwtstamp_provider: AttributeSets::TsHwtstampProvider, ?tx_types: AttributeSets::Bitset, ?rx_filters: AttributeSets::Bitset, ?hwtstamp_flags: AttributeSets::Bitset) -> ::Nl::Async::Future[Messages::DoTsconfigSetReply]
8422
+ def do_tsconfig_set(**args)
8423
+ @exchange.call(:"do", Messages::DoTsconfigSetRequest, Messages::DoTsconfigSetReply, args)
8424
+ end
8425
+ # Set RSS params.
8426
+ #--
8427
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer, ?flow_hash: AttributeSets::Flow) -> ::Nl::Async::Future[void]
8428
+ def do_rss_set(**args)
8429
+ @exchange.call(:"do", Messages::DoRssSetRequest, nil, args)
8430
+ end
8431
+ # Create an RSS context.
8432
+ #--
8433
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer) -> ::Nl::Async::Future[Messages::DoRssCreateActReply]
8434
+ def do_rss_create_act(**args)
8435
+ @exchange.call(:"do", Messages::DoRssCreateActRequest, Messages::DoRssCreateActReply, args)
8436
+ end
8437
+ # Delete an RSS context.
8438
+ #--
8439
+ # @rbs (?header: AttributeSets::Header, ?context: ::Integer) -> ::Nl::Async::Future[void]
8440
+ def do_rss_delete_act(**args)
8441
+ @exchange.call(:"do", Messages::DoRssDeleteActRequest, nil, args)
8442
+ end
8443
+ # Get PHY MSE measurement data and capabilities.
8444
+ #--
8445
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Future[Messages::DoMseGetReply]
8446
+ def do_mse_get(**args)
8447
+ @exchange.call(:"do", Messages::DoMseGetRequest, Messages::DoMseGetReply, args)
8448
+ end
8449
+ # Get PHY MSE measurement data and capabilities.
8450
+ #--
8451
+ # @rbs (?header: AttributeSets::Header) -> ::Nl::Async::Stream[Messages::DumpMseGetReply]
8452
+ def dump_mse_get(**args)
8453
+ @exchange.call(:"dump", Messages::DumpMseGetRequest, Messages::DumpMseGetReply, args)
8454
+ end
8455
+ end
8456
+ # Returns the asynchronous operation facade for this family.
8457
+ #--
8458
+ # @rbs (?stream_capacity: ::Integer?) -> AsyncOperations
8459
+ def async(stream_capacity: nil)
8460
+ return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil?
8461
+ build_async_facade(AsyncOperations, stream_capacity:)
8462
+ end
8463
+ #--
8464
+ # @rbs (*(:monitor) groups) -> self
8465
+ def subscribe(*groups) = super
8466
+ #--
8467
+ # @rbs (*(:monitor) groups) -> self
8468
+ def unsubscribe(*groups) = super
7159
8469
  end
7160
8470
  end; end