Class: Nl::Linux::Ethtool::AttributeSets::Mse

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Defined Under Namespace

Classes: Attribute, Capabilities, ChannelA, ChannelB, ChannelC, ChannelD, Header, Link, WorstChannel

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • name (Symbol)

Returns:



5623
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5623

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



5629
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5629

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#capabilities ⇒ AttributeSets::MseCapabilities



5592
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5592

def capabilities; self[:"capabilities"]&.value; end

#channel_a ⇒ AttributeSets::MseSnapshot

Returns:

See Also:



5596
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5596

def channel_a; self[:"channel_a"]&.value; end

#channel_b ⇒ AttributeSets::MseSnapshot

Returns:

See Also:



5600
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5600

def channel_b; self[:"channel_b"]&.value; end

#channel_c ⇒ AttributeSets::MseSnapshot

Returns:

See Also:



5604
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5604

def channel_c; self[:"channel_c"]&.value; end

#channel_d ⇒ AttributeSets::MseSnapshot

Returns:

See Also:



5608
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5608

def channel_d; self[:"channel_d"]&.value; end

#header ⇒ AttributeSets::Header

Returns:

See Also:



5588
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5588

def header; self[:"header"]&.value; end

Returns:

See Also:



5616
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5616

def link; self[:"link"]&.value; end

#worst_channel ⇒ AttributeSets::MseSnapshot



5612
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5612

def worst_channel; self[:"worst_channel"]&.value; end