Class: Nl::Linux::Ethtool::Messages::DumpEeeGetReply

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:



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

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

#enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes_ours ⇒ AttributeSets::Bitset



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

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

#modes_peer ⇒ AttributeSets::Bitset



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

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

#tx_lpi_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_lpi_timer ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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