Class: Nl::Linux::Ethtool::Notifications::FecNtf

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

Overview

Notification for change in FEC params.

Constant Summary collapse

TYPE =
31
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:



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

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

#auto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#modes ⇒ AttributeSets::Bitset



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

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

#stats ⇒ AttributeSets::FecStat



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

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