Class: Nl::Linux::Ethtool::Messages::DoFecSetRequest

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

Overview

Set 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:



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

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

#auto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes ⇒ AttributeSets::Bitset



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

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

#stats ⇒ AttributeSets::FecStat



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

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