Class: Nl::Linux::Ethtool::Messages::DoStatsGetReply

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

Overview

Get statistics.

Constant Summary collapse

TYPE =
33
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Stats
ATTRIBUTES =
Ractor.make_shareable(%i[header groups grp src])

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

#groups ⇒ AttributeSets::Bitset



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

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

#grp ⇒ AttributeSets::StatsGrp



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

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

#header ⇒ AttributeSets::Header



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

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

#src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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