Class: Nl::Linux::Ethtool::Messages::DumpPauseGetReply

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

Overview

Get pause params.

Constant Summary collapse

TYPE =
22
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Pause
ATTRIBUTES =
Ractor.make_shareable(%i[header autoneg rx tx stats stats_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

#autoneg ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#rx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ AttributeSets::PauseStat



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

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

#stats_src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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