Class: Nl::Linux::Ethtool::Messages::DumpModuleEepromGetRequest

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

Overview

Get module EEPROM params.

Constant Summary collapse

TYPE =
31
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ModuleEeprom
ATTRIBUTES =
Ractor.make_shareable(%i[header offset length page bank i2c_address])

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

#bank ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#i2c_address ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#length ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#offset ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#page ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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