Class: Nl::Linux::Ethtool::AttributeSets::FecStat
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::FecStat
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Defined Under Namespace
Classes: Attribute, CorrBits, Corrected, Hist, Pad, Uncorr
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
- #corr_bits ⇒ Array<Integer>
- #corrected ⇒ Array<Integer>
- #hist ⇒ Array<AttributeSets::FecHist>
- #uncorr ⇒ Array<Integer>
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.
3574 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3574 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3580 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3580 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#corr_bits ⇒ Array<Integer>
3563 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3563 def corr_bits; self[:"corr_bits"]&.value; end |
#corrected ⇒ Array<Integer>
3555 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3555 def corrected; self[:"corrected"]&.value; end |
#hist ⇒ Array<AttributeSets::FecHist>
3567 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3567 def hist; self[:"hist"].map(&:value); end |
#uncorr ⇒ Array<Integer>
3559 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 3559 def uncorr; self[:"uncorr"]&.value; end |