Class: Nl::Linux::Ethtool::Messages::DoFeaturesSetReply

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



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

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

#header ⇒ AttributeSets::Header



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

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

#hw ⇒ AttributeSets::Bitset



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

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

#nochange ⇒ AttributeSets::Bitset



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

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

#wanted ⇒ AttributeSets::Bitset



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

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