Class: Nl::Linux::Ethtool::Messages::DoFecGetReply

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:



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

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

#auto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes ⇒ AttributeSets::Bitset



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

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

#stats ⇒ AttributeSets::FecStat



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

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