Class: Nl::Linux::Ethtool::Messages::DoEeeSetRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Overview

Set eee params.

Constant Summary collapse

TYPE =
24
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Eee
ATTRIBUTES =
Ractor.make_shareable(%i[header modes_ours modes_peer active enabled tx_lpi_enabled tx_lpi_timer])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#active ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def active; attributes[:"active"]&.value; end

#enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def enabled; attributes[:"enabled"]&.value; end

#header ⇒ AttributeSets::Header



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

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

#modes_ours ⇒ AttributeSets::Bitset



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

def modes_ours; attributes[:"modes_ours"]&.value; end

#modes_peer ⇒ AttributeSets::Bitset



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

def modes_peer; attributes[:"modes_peer"]&.value; end

#tx_lpi_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def tx_lpi_enabled; attributes[:"tx_lpi_enabled"]&.value; end

#tx_lpi_timer ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def tx_lpi_timer; attributes[:"tx_lpi_timer"]&.value; end