Class: Nl::Linux::Ethtool::Notifications::FeaturesNtf

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

Overview

Notification for change in features.

Constant Summary collapse

TYPE =
13
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Features
ATTRIBUTES =
Ractor.make_shareable(%i[header hw wanted active nochange])

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 ⇒ AttributeSets::Bitset



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

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

#header ⇒ AttributeSets::Header



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

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

#hw ⇒ AttributeSets::Bitset



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

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

#nochange ⇒ AttributeSets::Bitset



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

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

#wanted ⇒ AttributeSets::Bitset



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

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