Class: Nl::Linux::Ethtool::Messages::DumpLinkstateGetReply

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

Overview

Get link state.

Constant Summary collapse

TYPE =
6
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Linkstate
ATTRIBUTES =
Ractor.make_shareable(%i[header link sqi sqi_max ext_state ext_substate ext_down_cnt])

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

#ext_down_cnt ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ext_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ext_substate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

Returns:

  • (Integer)

See Also:



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

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

#sqi ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#sqi_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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