Class: Nl::Linux::Ethtool::Notifications::PseNtf

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

Overview

Notification for PSE events.

Constant Summary collapse

TYPE =
49
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::PseNtf
ATTRIBUTES =
Ractor.make_shareable(%i[header events])

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

#events ⇒ Integer

List of events reported by the PSE controller

Known flags are defined in Flags::PseEvent.

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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