Class: Nl::Linux::Ethtool::Messages::DoLinkinfoSetRequest

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

Overview

Set link info.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Linkinfo
ATTRIBUTES =
Ractor.make_shareable(%i[header port phyaddr tp_mdix tp_mdix_ctrl transceiver])

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

#header ⇒ AttributeSets::Header



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

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

#phyaddr ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tp_mdix ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tp_mdix_ctrl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#transceiver ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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