Class: Nl::Linux::Ethtool::Messages::DoEeeGetReply

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

Overview

Get 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:



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

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

#enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes_ours ⇒ AttributeSets::Bitset



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

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

#modes_peer ⇒ AttributeSets::Bitset



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

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

#tx_lpi_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_lpi_timer ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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