Class: Nl::Linux::Ethtool::Messages::DoPauseSetRequest

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

Overview

Set 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:



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

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

#header ⇒ AttributeSets::Header



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

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

#rx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ AttributeSets::PauseStat



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

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

#stats_src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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