Class: Nl::Linux::Ethtool::Messages::DoChannelsGetReply

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

Overview

Get channel params.

Constant Summary collapse

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



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

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

#combined_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#other_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#other_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tx_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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