Class: Nl::Linux::Ethtool::AttributeSets::Tsconfig
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::Tsconfig
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Defined Under Namespace
Classes: Attribute, Header, HwtstampFlags, HwtstampProvider, RxFilters, TxTypes
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
- #header ⇒ AttributeSets::Header
- #hwtstamp_flags ⇒ AttributeSets::Bitset
- #hwtstamp_provider ⇒ AttributeSets::TsHwtstampProvider
- #rx_filters ⇒ AttributeSets::Bitset
- #tx_types ⇒ AttributeSets::Bitset
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.
5337 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5337 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
5343 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5343 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#header ⇒ AttributeSets::Header
5314 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5314 def header; self[:"header"]&.value; end |
#hwtstamp_flags ⇒ AttributeSets::Bitset
5330 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5330 def hwtstamp_flags; self[:"hwtstamp_flags"]&.value; end |
#hwtstamp_provider ⇒ AttributeSets::TsHwtstampProvider
5318 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5318 def hwtstamp_provider; self[:"hwtstamp_provider"]&.value; end |
#rx_filters ⇒ AttributeSets::Bitset
5326 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5326 def rx_filters; self[:"rx_filters"]&.value; end |
#tx_types ⇒ AttributeSets::Bitset
5322 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5322 def tx_types; self[:"tx_types"]&.value; end |