Class: Nl::Linux::Ethtool::Notifications::ChannelsNtf

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

Overview

Notification for change in channel params.

Constant Summary collapse

TYPE =
19
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Channels
ATTRIBUTES =
Ractor.make_shareable(%i[header rx_max tx_max other_max combined_max rx_count tx_count other_count combined_count])

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

#combined_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#combined_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#other_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#other_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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