Class: Nl::Linux::Ethtool::Notifications::ModuleNtf

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

Overview

Notification for change in module params.

Constant Summary collapse

TYPE =
36
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Module
ATTRIBUTES =
Ractor.make_shareable(%i[header power_mode_policy power_mode])

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

#header ⇒ AttributeSets::Header



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

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

#power_mode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#power_mode_policy ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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