Class: Nl::Linux::Ethtool::Messages::DoFeaturesGetReply

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

Overview

Get features.

Constant Summary collapse

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



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

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

#header ⇒ AttributeSets::Header



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

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

#hw ⇒ AttributeSets::Bitset



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

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

#nochange ⇒ AttributeSets::Bitset



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

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

#wanted ⇒ AttributeSets::Bitset



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

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