Class: Nl::Linux::Ethtool::AttributeSets::MmStat
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::MmStat
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Overview
MAC Merge (802.3)
Defined Under Namespace
Classes: Attribute, HoldCount, Pad, ReassemblyErrors, ReassemblyOk, RxFragCount, SmdErrors, TxFragCount
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#hold_count ⇒ Integer
aMACMergeHoldCount.
-
#reassembly_errors ⇒ Integer
aMACMergeFrameAssErrorCount.
-
#reassembly_ok ⇒ Integer
aMACMergeFrameAssOkCount.
-
#rx_frag_count ⇒ Integer
aMACMergeFragCountRx.
-
#smd_errors ⇒ Integer
aMACMergeFrameSmdErrorCount.
-
#tx_frag_count ⇒ Integer
aMACMergeFragCountTx.
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
1019 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1019 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1025 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1025 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#hold_count ⇒ Integer
aMACMergeHoldCount
1012 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1012 def hold_count; self[:"hold_count"]&.value; end |
#reassembly_errors ⇒ Integer
aMACMergeFrameAssErrorCount
987 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 987 def reassembly_errors; self[:"reassembly_errors"]&.value; end |
#reassembly_ok ⇒ Integer
aMACMergeFrameAssOkCount
997 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 997 def reassembly_ok; self[:"reassembly_ok"]&.value; end |
#rx_frag_count ⇒ Integer
aMACMergeFragCountRx
1002 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1002 def rx_frag_count; self[:"rx_frag_count"]&.value; end |
#smd_errors ⇒ Integer
aMACMergeFrameSmdErrorCount
992 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 992 def smd_errors; self[:"smd_errors"]&.value; end |
#tx_frag_count ⇒ Integer
aMACMergeFragCountTx
1007 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1007 def tx_frag_count; self[:"tx_frag_count"]&.value; end |