Class: Nl::Linux::Ethtool::AttributeSets::Channels
Defined Under Namespace
Classes: Attribute, CombinedCount, CombinedMax, Header, OtherCount, OtherMax, RxCount, RxMax, TxCount, TxMax
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
1805
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1805
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
1811
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1811
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#combined_count ⇒ Integer
1798
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1798
def combined_count; self[:"combined_count"]&.value; end
|
#combined_max ⇒ Integer
1782
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1782
def combined_max; self[:"combined_max"]&.value; end
|
1766
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1766
def ; self[:"header"]&.value; end
|
#other_count ⇒ Integer
1794
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1794
def other_count; self[:"other_count"]&.value; end
|
#other_max ⇒ Integer
1778
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1778
def other_max; self[:"other_max"]&.value; end
|
#rx_count ⇒ Integer
1786
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1786
def rx_count; self[:"rx_count"]&.value; end
|
#rx_max ⇒ Integer
1770
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1770
def rx_max; self[:"rx_max"]&.value; end
|
#tx_count ⇒ Integer
1790
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1790
def tx_count; self[:"tx_count"]&.value; end
|
#tx_max ⇒ Integer
1774
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1774
def tx_max; self[:"tx_max"]&.value; end
|