Class: Nl::Linux::Ethtool::Messages::DoModuleEepromGetRequest

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:



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

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

#header ⇒ AttributeSets::Header



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

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

#i2c_address ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#length ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#offset ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#page ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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