Class: Nl::Linux::Ethtool::Messages::DumpFecGetReply

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

Overview

Get FEC params.

Constant Summary collapse

TYPE =
30
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Fec
ATTRIBUTES =
Ractor.make_shareable(%i[header modes auto active stats])

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:



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

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

#auto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes ⇒ AttributeSets::Bitset



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

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

#stats ⇒ AttributeSets::FecStat



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

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