Class: Nl::Linux::Ethtool::Messages::DoFeaturesSetRequest

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

Overview

Set features.

Constant Summary collapse

TYPE =
12
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



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

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

#header ⇒ AttributeSets::Header



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

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

#hw ⇒ AttributeSets::Bitset



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

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

#nochange ⇒ AttributeSets::Bitset



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

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

#wanted ⇒ AttributeSets::Bitset



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

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