Class: Nl::Linux::Ethtool::Notifications::PauseNtf

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

Overview

Notification for change in pause params.

Constant Summary collapse

TYPE =
23
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:



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

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

#header ⇒ AttributeSets::Header



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

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

#rx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ AttributeSets::PauseStat



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

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

#stats_src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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