nl-linux 0.2.3 → 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.
- checksums.yaml +4 -4
- data/.rspec +3 -0
- data/CHANGELOG.md +8 -0
- data/NLSPEC_VERSION +1 -1
- data/Rakefile +13 -3
- data/generated/nl/linux/binder.rb +80 -0
- data/generated/nl/linux/conntrack.rb +39 -2
- data/generated/nl/linux/dev_energymodel.rb +106 -0
- data/generated/nl/linux/devlink.rb +1478 -200
- data/generated/nl/linux/dpll.rb +790 -66
- data/generated/nl/linux/drm_ras.rb +309 -0
- data/generated/nl/linux/ethtool.rb +1597 -248
- data/generated/nl/linux/fou.rb +82 -13
- data/generated/nl/linux/handshake.rb +93 -1
- data/generated/nl/linux/lockd.rb +50 -0
- data/generated/nl/linux/mptcp_pm.rb +159 -0
- data/generated/nl/linux/net_shaper.rb +124 -1
- data/generated/nl/linux/netdev.rb +515 -6
- data/generated/nl/linux/nfsd.rb +878 -10
- data/generated/nl/linux/nftables.rb +2134 -179
- data/generated/nl/linux/nl80211.rb +81 -22
- data/generated/nl/linux/nlctrl.rb +59 -8
- data/generated/nl/linux/ovpn.rb +207 -12
- data/generated/nl/linux/ovs_datapath.rb +59 -10
- data/generated/nl/linux/ovs_flow.rb +63 -20
- data/generated/nl/linux/ovs_packet.rb +277 -0
- data/generated/nl/linux/ovs_vport.rb +59 -10
- data/generated/nl/linux/psp.rb +453 -6
- data/generated/nl/linux/rt_addr.rb +69 -14
- data/generated/nl/linux/rt_link.rb +452 -112
- data/generated/nl/linux/rt_neigh.rb +227 -16
- data/generated/nl/linux/rt_route.rb +92 -49
- data/generated/nl/linux/rt_rule.rb +300 -11
- data/generated/nl/linux/sunrpc_cache.rb +423 -0
- data/generated/nl/linux/tc.rb +168 -54
- data/generated/nl/linux/tcp_metrics.rb +69 -12
- data/generated/nl/linux/team.rb +80 -0
- data/generated/nl/linux/wireguard.rb +99 -7
- data/generated/nl/linux.rb +3 -0
- data/lib/nl/linux/version.rb +1 -1
- data/linux/devlink.yaml +92 -2
- data/linux/dpll.yaml +94 -5
- data/linux/drm_ras.yaml +126 -0
- data/linux/ethtool.yaml +21 -4
- data/linux/handshake.yaml +9 -0
- data/linux/mptcp_pm.yaml +1 -0
- data/linux/net_shaper.yaml +13 -6
- data/linux/netdev.yaml +61 -2
- data/linux/nfsd.yaml +303 -2
- data/linux/nftables.yaml +640 -49
- data/linux/ovpn.yaml +26 -1
- data/linux/ovs_packet.yaml +130 -0
- data/linux/psp.yaml +80 -3
- data/linux/rt-link.yaml +70 -24
- data/linux/sunrpc_cache.yaml +149 -0
- data/linux/tc.yaml +3 -0
- metadata +17 -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
|
|
@@ -1133,10 +1136,20 @@ class Ethtool < ::Nl::Family
|
|
|
1133
1136
|
TYPE = 30
|
|
1134
1137
|
NAME = :"tx_profile"
|
|
1135
1138
|
end
|
|
1139
|
+
class RxCqeFrames < Attribute
|
|
1140
|
+
TYPE = 31
|
|
1141
|
+
NAME = :"rx_cqe_frames"
|
|
1142
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
1143
|
+
end
|
|
1144
|
+
class RxCqeNsecs < Attribute
|
|
1145
|
+
TYPE = 32
|
|
1146
|
+
NAME = :"rx_cqe_nsecs"
|
|
1147
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U32, check: nil)
|
|
1148
|
+
end
|
|
1136
1149
|
# :nodoc:
|
|
1137
|
-
BY_NAME = Ractor.make_shareable({:"header" => Header, :"rx_usecs" => RxUsecs, :"rx_max_frames" => RxMaxFrames, :"rx_usecs_irq" => RxUsecsIrq, :"rx_max_frames_irq" => RxMaxFramesIrq, :"tx_usecs" => TxUsecs, :"tx_max_frames" => TxMaxFrames, :"tx_usecs_irq" => TxUsecsIrq, :"tx_max_frames_irq" => TxMaxFramesIrq, :"stats_block_usecs" => StatsBlockUsecs, :"use_adaptive_rx" => UseAdaptiveRx, :"use_adaptive_tx" => UseAdaptiveTx, :"pkt_rate_low" => PktRateLow, :"rx_usecs_low" => RxUsecsLow, :"rx_max_frames_low" => RxMaxFramesLow, :"tx_usecs_low" => TxUsecsLow, :"tx_max_frames_low" => TxMaxFramesLow, :"pkt_rate_high" => PktRateHigh, :"rx_usecs_high" => RxUsecsHigh, :"rx_max_frames_high" => RxMaxFramesHigh, :"tx_usecs_high" => TxUsecsHigh, :"tx_max_frames_high" => TxMaxFramesHigh, :"rate_sample_interval" => RateSampleInterval, :"use_cqe_mode_tx" => UseCqeModeTx, :"use_cqe_mode_rx" => UseCqeModeRx, :"tx_aggr_max_bytes" => TxAggrMaxBytes, :"tx_aggr_max_frames" => TxAggrMaxFrames, :"tx_aggr_time_usecs" => TxAggrTimeUsecs, :"rx_profile" => RxProfile, :"tx_profile" => TxProfile}) #: Hash[::Symbol, Attribute]
|
|
1150
|
+
BY_NAME = Ractor.make_shareable({:"header" => Header, :"rx_usecs" => RxUsecs, :"rx_max_frames" => RxMaxFrames, :"rx_usecs_irq" => RxUsecsIrq, :"rx_max_frames_irq" => RxMaxFramesIrq, :"tx_usecs" => TxUsecs, :"tx_max_frames" => TxMaxFrames, :"tx_usecs_irq" => TxUsecsIrq, :"tx_max_frames_irq" => TxMaxFramesIrq, :"stats_block_usecs" => StatsBlockUsecs, :"use_adaptive_rx" => UseAdaptiveRx, :"use_adaptive_tx" => UseAdaptiveTx, :"pkt_rate_low" => PktRateLow, :"rx_usecs_low" => RxUsecsLow, :"rx_max_frames_low" => RxMaxFramesLow, :"tx_usecs_low" => TxUsecsLow, :"tx_max_frames_low" => TxMaxFramesLow, :"pkt_rate_high" => PktRateHigh, :"rx_usecs_high" => RxUsecsHigh, :"rx_max_frames_high" => RxMaxFramesHigh, :"tx_usecs_high" => TxUsecsHigh, :"tx_max_frames_high" => TxMaxFramesHigh, :"rate_sample_interval" => RateSampleInterval, :"use_cqe_mode_tx" => UseCqeModeTx, :"use_cqe_mode_rx" => UseCqeModeRx, :"tx_aggr_max_bytes" => TxAggrMaxBytes, :"tx_aggr_max_frames" => TxAggrMaxFrames, :"tx_aggr_time_usecs" => TxAggrTimeUsecs, :"rx_profile" => RxProfile, :"tx_profile" => TxProfile, :"rx_cqe_frames" => RxCqeFrames, :"rx_cqe_nsecs" => RxCqeNsecs}) #: Hash[::Symbol, Attribute]
|
|
1138
1151
|
# :nodoc:
|
|
1139
|
-
BY_TYPE = Ractor.make_shareable({1 => Header, 2 => RxUsecs, 3 => RxMaxFrames, 4 => RxUsecsIrq, 5 => RxMaxFramesIrq, 6 => TxUsecs, 7 => TxMaxFrames, 8 => TxUsecsIrq, 9 => TxMaxFramesIrq, 10 => StatsBlockUsecs, 11 => UseAdaptiveRx, 12 => UseAdaptiveTx, 13 => PktRateLow, 14 => RxUsecsLow, 15 => RxMaxFramesLow, 16 => TxUsecsLow, 17 => TxMaxFramesLow, 18 => PktRateHigh, 19 => RxUsecsHigh, 20 => RxMaxFramesHigh, 21 => TxUsecsHigh, 22 => TxMaxFramesHigh, 23 => RateSampleInterval, 24 => UseCqeModeTx, 25 => UseCqeModeRx, 26 => TxAggrMaxBytes, 27 => TxAggrMaxFrames, 28 => TxAggrTimeUsecs, 29 => RxProfile, 30 => TxProfile}) #: Hash[::Integer, Attribute]
|
|
1152
|
+
BY_TYPE = Ractor.make_shareable({1 => Header, 2 => RxUsecs, 3 => RxMaxFrames, 4 => RxUsecsIrq, 5 => RxMaxFramesIrq, 6 => TxUsecs, 7 => TxMaxFrames, 8 => TxUsecsIrq, 9 => TxMaxFramesIrq, 10 => StatsBlockUsecs, 11 => UseAdaptiveRx, 12 => UseAdaptiveTx, 13 => PktRateLow, 14 => RxUsecsLow, 15 => RxMaxFramesLow, 16 => TxUsecsLow, 17 => TxMaxFramesLow, 18 => PktRateHigh, 19 => RxUsecsHigh, 20 => RxMaxFramesHigh, 21 => TxUsecsHigh, 22 => TxMaxFramesHigh, 23 => RateSampleInterval, 24 => UseCqeModeTx, 25 => UseCqeModeRx, 26 => TxAggrMaxBytes, 27 => TxAggrMaxFrames, 28 => TxAggrTimeUsecs, 29 => RxProfile, 30 => TxProfile, 31 => RxCqeFrames, 32 => RxCqeNsecs}) #: Hash[::Integer, Attribute]
|
|
1140
1153
|
class << self
|
|
1141
1154
|
# Looks up Attribute class by name.
|
|
1142
1155
|
#--
|
|
@@ -1169,10 +1182,15 @@ class Ethtool < ::Nl::Family
|
|
|
1169
1182
|
NAME = :"rx_frames"
|
|
1170
1183
|
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U64, check: nil)
|
|
1171
1184
|
end
|
|
1185
|
+
class TxPauseStormEvents < Attribute
|
|
1186
|
+
TYPE = 4
|
|
1187
|
+
NAME = :"tx_pause_storm_events"
|
|
1188
|
+
DATATYPE = ::Nl::Protocols::Genl::DataTypes::Scalar.new(::Nl::Endian::Host::U64, check: nil)
|
|
1189
|
+
end
|
|
1172
1190
|
# :nodoc:
|
|
1173
|
-
BY_NAME = Ractor.make_shareable({:"pad" => Pad, :"tx_frames" => TxFrames, :"rx_frames" => RxFrames}) #: Hash[::Symbol, Attribute]
|
|
1191
|
+
BY_NAME = Ractor.make_shareable({:"pad" => Pad, :"tx_frames" => TxFrames, :"rx_frames" => RxFrames, :"tx_pause_storm_events" => TxPauseStormEvents}) #: Hash[::Symbol, Attribute]
|
|
1174
1192
|
# :nodoc:
|
|
1175
|
-
BY_TYPE = Ractor.make_shareable({1 => Pad, 2 => TxFrames, 3 => RxFrames}) #: Hash[::Integer, Attribute]
|
|
1193
|
+
BY_TYPE = Ractor.make_shareable({1 => Pad, 2 => TxFrames, 3 => RxFrames, 4 => TxPauseStormEvents}) #: Hash[::Integer, Attribute]
|
|
1176
1194
|
class << self
|
|
1177
1195
|
# Looks up Attribute class by name.
|
|
1178
1196
|
#--
|
|
@@ -3560,7 +3578,7 @@ class Ethtool < ::Nl::Family
|
|
|
3560
3578
|
def modes; attributes[:"modes"]&.value; end
|
|
3561
3579
|
# Gets the value of `sopass` attribute in the message.
|
|
3562
3580
|
#--
|
|
3563
|
-
# @rbs return:
|
|
3581
|
+
# @rbs return: ::String
|
|
3564
3582
|
def sopass; attributes[:"sopass"]&.value; end
|
|
3565
3583
|
end
|
|
3566
3584
|
# Get WOL params.
|
|
@@ -3590,7 +3608,7 @@ class Ethtool < ::Nl::Family
|
|
|
3590
3608
|
def modes; attributes[:"modes"]&.value; end
|
|
3591
3609
|
# Gets the value of `sopass` attribute in the message.
|
|
3592
3610
|
#--
|
|
3593
|
-
# @rbs return:
|
|
3611
|
+
# @rbs return: ::String
|
|
3594
3612
|
def sopass; attributes[:"sopass"]&.value; end
|
|
3595
3613
|
end
|
|
3596
3614
|
# Set WOL params.
|
|
@@ -3609,7 +3627,7 @@ class Ethtool < ::Nl::Family
|
|
|
3609
3627
|
def modes; attributes[:"modes"]&.value; end
|
|
3610
3628
|
# Gets the value of `sopass` attribute in the message.
|
|
3611
3629
|
#--
|
|
3612
|
-
# @rbs return:
|
|
3630
|
+
# @rbs return: ::String
|
|
3613
3631
|
def sopass; attributes[:"sopass"]&.value; end
|
|
3614
3632
|
end
|
|
3615
3633
|
# Get features.
|
|
@@ -4235,7 +4253,7 @@ class Ethtool < ::Nl::Family
|
|
|
4235
4253
|
TYPE = 20
|
|
4236
4254
|
FIXED_HEADER = nil
|
|
4237
4255
|
ATTRIBUTE_SET = AttributeSets::Coalesce
|
|
4238
|
-
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])
|
|
4256
|
+
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])
|
|
4239
4257
|
# Gets the value of `header` attribute in the message.
|
|
4240
4258
|
#--
|
|
4241
4259
|
# @rbs return: AttributeSets::Header
|
|
@@ -4356,6 +4374,14 @@ class Ethtool < ::Nl::Family
|
|
|
4356
4374
|
#--
|
|
4357
4375
|
# @rbs return: AttributeSets::Profile
|
|
4358
4376
|
def tx_profile; attributes[:"tx_profile"]&.value; end
|
|
4377
|
+
# Gets the value of `rx-cqe-frames` attribute in the message.
|
|
4378
|
+
#--
|
|
4379
|
+
# @rbs return: ::Integer
|
|
4380
|
+
def rx_cqe_frames; attributes[:"rx_cqe_frames"]&.value; end
|
|
4381
|
+
# Gets the value of `rx-cqe-nsecs` attribute in the message.
|
|
4382
|
+
#--
|
|
4383
|
+
# @rbs return: ::Integer
|
|
4384
|
+
def rx_cqe_nsecs; attributes[:"rx_cqe_nsecs"]&.value; end
|
|
4359
4385
|
end
|
|
4360
4386
|
# Get coalesce params.
|
|
4361
4387
|
class DumpCoalesceGetRequest < ::Nl::Protocols::Genl::Message
|
|
@@ -4373,7 +4399,7 @@ class Ethtool < ::Nl::Family
|
|
|
4373
4399
|
TYPE = 20
|
|
4374
4400
|
FIXED_HEADER = nil
|
|
4375
4401
|
ATTRIBUTE_SET = AttributeSets::Coalesce
|
|
4376
|
-
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])
|
|
4402
|
+
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])
|
|
4377
4403
|
# Gets the value of `header` attribute in the message.
|
|
4378
4404
|
#--
|
|
4379
4405
|
# @rbs return: AttributeSets::Header
|
|
@@ -4494,13 +4520,21 @@ class Ethtool < ::Nl::Family
|
|
|
4494
4520
|
#--
|
|
4495
4521
|
# @rbs return: AttributeSets::Profile
|
|
4496
4522
|
def tx_profile; attributes[:"tx_profile"]&.value; end
|
|
4523
|
+
# Gets the value of `rx-cqe-frames` attribute in the message.
|
|
4524
|
+
#--
|
|
4525
|
+
# @rbs return: ::Integer
|
|
4526
|
+
def rx_cqe_frames; attributes[:"rx_cqe_frames"]&.value; end
|
|
4527
|
+
# Gets the value of `rx-cqe-nsecs` attribute in the message.
|
|
4528
|
+
#--
|
|
4529
|
+
# @rbs return: ::Integer
|
|
4530
|
+
def rx_cqe_nsecs; attributes[:"rx_cqe_nsecs"]&.value; end
|
|
4497
4531
|
end
|
|
4498
4532
|
# Set coalesce params.
|
|
4499
4533
|
class DoCoalesceSetRequest < ::Nl::Protocols::Genl::Message
|
|
4500
4534
|
TYPE = 20
|
|
4501
4535
|
FIXED_HEADER = nil
|
|
4502
4536
|
ATTRIBUTE_SET = AttributeSets::Coalesce
|
|
4503
|
-
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])
|
|
4537
|
+
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])
|
|
4504
4538
|
# Gets the value of `header` attribute in the message.
|
|
4505
4539
|
#--
|
|
4506
4540
|
# @rbs return: AttributeSets::Header
|
|
@@ -4621,6 +4655,14 @@ class Ethtool < ::Nl::Family
|
|
|
4621
4655
|
#--
|
|
4622
4656
|
# @rbs return: AttributeSets::Profile
|
|
4623
4657
|
def tx_profile; attributes[:"tx_profile"]&.value; end
|
|
4658
|
+
# Gets the value of `rx-cqe-frames` attribute in the message.
|
|
4659
|
+
#--
|
|
4660
|
+
# @rbs return: ::Integer
|
|
4661
|
+
def rx_cqe_frames; attributes[:"rx_cqe_frames"]&.value; end
|
|
4662
|
+
# Gets the value of `rx-cqe-nsecs` attribute in the message.
|
|
4663
|
+
#--
|
|
4664
|
+
# @rbs return: ::Integer
|
|
4665
|
+
def rx_cqe_nsecs; attributes[:"rx_cqe_nsecs"]&.value; end
|
|
4624
4666
|
end
|
|
4625
4667
|
# Get pause params.
|
|
4626
4668
|
class DoPauseGetRequest < ::Nl::Protocols::Genl::Message
|
|
@@ -5200,7 +5242,7 @@ class Ethtool < ::Nl::Family
|
|
|
5200
5242
|
def header; attributes[:"header"]&.value; end
|
|
5201
5243
|
# Gets the value of `data` attribute in the message.
|
|
5202
5244
|
#--
|
|
5203
|
-
# @rbs return:
|
|
5245
|
+
# @rbs return: ::String
|
|
5204
5246
|
def data; attributes[:"data"]&.value; end
|
|
5205
5247
|
end
|
|
5206
5248
|
# Get module EEPROM params.
|
|
@@ -5246,7 +5288,7 @@ class Ethtool < ::Nl::Family
|
|
|
5246
5288
|
def header; attributes[:"header"]&.value; end
|
|
5247
5289
|
# Gets the value of `data` attribute in the message.
|
|
5248
5290
|
#--
|
|
5249
|
-
# @rbs return:
|
|
5291
|
+
# @rbs return: ::String
|
|
5250
5292
|
def data; attributes[:"data"]&.value; end
|
|
5251
5293
|
end
|
|
5252
5294
|
# Get statistics.
|
|
@@ -5682,11 +5724,11 @@ class Ethtool < ::Nl::Family
|
|
|
5682
5724
|
def hfunc; attributes[:"hfunc"]&.value; end
|
|
5683
5725
|
# Gets the value of `indir` attribute in the message.
|
|
5684
5726
|
#--
|
|
5685
|
-
# @rbs return:
|
|
5727
|
+
# @rbs return: ::String
|
|
5686
5728
|
def indir; attributes[:"indir"]&.value; end
|
|
5687
5729
|
# Gets the value of `hkey` attribute in the message.
|
|
5688
5730
|
#--
|
|
5689
|
-
# @rbs return:
|
|
5731
|
+
# @rbs return: ::String
|
|
5690
5732
|
def hkey; attributes[:"hkey"]&.value; end
|
|
5691
5733
|
# Gets the value of `input-xfrm` attribute in the message.
|
|
5692
5734
|
#--
|
|
@@ -5732,11 +5774,11 @@ class Ethtool < ::Nl::Family
|
|
|
5732
5774
|
def hfunc; attributes[:"hfunc"]&.value; end
|
|
5733
5775
|
# Gets the value of `indir` attribute in the message.
|
|
5734
5776
|
#--
|
|
5735
|
-
# @rbs return:
|
|
5777
|
+
# @rbs return: ::String
|
|
5736
5778
|
def indir; attributes[:"indir"]&.value; end
|
|
5737
5779
|
# Gets the value of `hkey` attribute in the message.
|
|
5738
5780
|
#--
|
|
5739
|
-
# @rbs return:
|
|
5781
|
+
# @rbs return: ::String
|
|
5740
5782
|
def hkey; attributes[:"hkey"]&.value; end
|
|
5741
5783
|
# Gets the value of `input-xfrm` attribute in the message.
|
|
5742
5784
|
#--
|
|
@@ -6422,11 +6464,11 @@ class Ethtool < ::Nl::Family
|
|
|
6422
6464
|
def hfunc; attributes[:"hfunc"]&.value; end
|
|
6423
6465
|
# Gets the value of `indir` attribute in the message.
|
|
6424
6466
|
#--
|
|
6425
|
-
# @rbs return:
|
|
6467
|
+
# @rbs return: ::String
|
|
6426
6468
|
def indir; attributes[:"indir"]&.value; end
|
|
6427
6469
|
# Gets the value of `hkey` attribute in the message.
|
|
6428
6470
|
#--
|
|
6429
|
-
# @rbs return:
|
|
6471
|
+
# @rbs return: ::String
|
|
6430
6472
|
def hkey; attributes[:"hkey"]&.value; end
|
|
6431
6473
|
# Gets the value of `input-xfrm` attribute in the message.
|
|
6432
6474
|
#--
|
|
@@ -6457,11 +6499,11 @@ class Ethtool < ::Nl::Family
|
|
|
6457
6499
|
def hfunc; attributes[:"hfunc"]&.value; end
|
|
6458
6500
|
# Gets the value of `indir` attribute in the message.
|
|
6459
6501
|
#--
|
|
6460
|
-
# @rbs return:
|
|
6502
|
+
# @rbs return: ::String
|
|
6461
6503
|
def indir; attributes[:"indir"]&.value; end
|
|
6462
6504
|
# Gets the value of `hkey` attribute in the message.
|
|
6463
6505
|
#--
|
|
6464
|
-
# @rbs return:
|
|
6506
|
+
# @rbs return: ::String
|
|
6465
6507
|
def hkey; attributes[:"hkey"]&.value; end
|
|
6466
6508
|
# Gets the value of `input-xfrm` attribute in the message.
|
|
6467
6509
|
#--
|
|
@@ -6488,11 +6530,11 @@ class Ethtool < ::Nl::Family
|
|
|
6488
6530
|
def hfunc; attributes[:"hfunc"]&.value; end
|
|
6489
6531
|
# Gets the value of `indir` attribute in the message.
|
|
6490
6532
|
#--
|
|
6491
|
-
# @rbs return:
|
|
6533
|
+
# @rbs return: ::String
|
|
6492
6534
|
def indir; attributes[:"indir"]&.value; end
|
|
6493
6535
|
# Gets the value of `hkey` attribute in the message.
|
|
6494
6536
|
#--
|
|
6495
|
-
# @rbs return:
|
|
6537
|
+
# @rbs return: ::String
|
|
6496
6538
|
def hkey; attributes[:"hkey"]&.value; end
|
|
6497
6539
|
# Gets the value of `input-xfrm` attribute in the message.
|
|
6498
6540
|
#--
|
|
@@ -6615,230 +6657,1044 @@ class Ethtool < ::Nl::Family
|
|
|
6615
6657
|
def link; attributes[:"link"]&.value; end
|
|
6616
6658
|
end
|
|
6617
6659
|
end
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
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
|
+
#--
|
|
6842
7698
|
# @rbs (?header: AttributeSets::Header) -> Enumerable[Messages::DumpEeeGetReply]
|
|
6843
7699
|
# | (?header: AttributeSets::Header) { (Messages::DumpEeeGetReply) -> void } -> void
|
|
6844
7700
|
def dump_eee_get(**args, &block)
|
|
@@ -7088,13 +7944,13 @@ class Ethtool < ::Nl::Family
|
|
|
7088
7944
|
end
|
|
7089
7945
|
# Set RSS params.
|
|
7090
7946
|
#--
|
|
7091
|
-
# @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir:
|
|
7947
|
+
# @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer, ?flow_hash: AttributeSets::Flow) -> void
|
|
7092
7948
|
def do_rss_set(**args)
|
|
7093
7949
|
exchange_message(:"do", Messages::DoRssSetRequest, nil, args)
|
|
7094
7950
|
end
|
|
7095
7951
|
# Create an RSS context.
|
|
7096
7952
|
#--
|
|
7097
|
-
# @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir:
|
|
7953
|
+
# @rbs (?header: AttributeSets::Header, ?context: ::Integer, ?hfunc: ::Integer, ?indir: ::String, ?hkey: ::String, ?input_xfrm: ::Integer) -> Messages::DoRssCreateActReply
|
|
7098
7954
|
def do_rss_create_act(**args)
|
|
7099
7955
|
exchange_message(:"do", Messages::DoRssCreateActRequest, Messages::DoRssCreateActReply, args)
|
|
7100
7956
|
end
|
|
@@ -7117,5 +7973,498 @@ class Ethtool < ::Nl::Family
|
|
|
7117
7973
|
def dump_mse_get(**args, &block)
|
|
7118
7974
|
exchange_message(:"dump", Messages::DumpMseGetRequest, Messages::DumpMseGetReply, args, &block)
|
|
7119
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
|
|
7120
8469
|
end
|
|
7121
8470
|
end; end
|