Class: Nl::Linux::Ethtool::Messages::DoLinkmodesGetReply
Overview
Constant Summary
collapse
- TYPE =
4
nil
- ATTRIBUTE_SET =
AttributeSets::Linkmodes
- ATTRIBUTES =
Ractor.make_shareable(%i[header autoneg ours peer speed duplex master_slave_cfg master_slave_state lanes rate_matching])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
#autoneg ⇒ Integer
6019
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6019
def autoneg; attributes[:"autoneg"]&.value; end
|
#duplex ⇒ Integer
6035
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6035
def duplex; attributes[:"duplex"]&.value; end
|
6015
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6015
def ; attributes[:"header"]&.value; end
|
#lanes ⇒ Integer
6047
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6047
def lanes; attributes[:"lanes"]&.value; end
|
#master_slave_cfg ⇒ Integer
6039
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6039
def master_slave_cfg; attributes[:"master_slave_cfg"]&.value; end
|
#master_slave_state ⇒ Integer
6043
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6043
def master_slave_state; attributes[:"master_slave_state"]&.value; end
|
6023
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6023
def ours; attributes[:"ours"]&.value; end
|
6027
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6027
def peer; attributes[:"peer"]&.value; end
|
#rate_matching ⇒ Integer
6051
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6051
def rate_matching; attributes[:"rate_matching"]&.value; end
|
#speed ⇒ Integer
6031
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 6031
def speed; attributes[:"speed"]&.value; end
|