Class: Nl::Linux::Ethtool::Notifications::LinkinfoNtf
Overview
Notification for change in link info.
Constant Summary
collapse
- TYPE =
3
nil
- ATTRIBUTE_SET =
AttributeSets::Linkinfo
- ATTRIBUTES =
Ractor.make_shareable(%i[header port phyaddr tp_mdix tp_mdix_ctrl transceiver])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
9447
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9447
def ; attributes[:"header"]&.value; end
|
#phyaddr ⇒ Integer
9455
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9455
def phyaddr; attributes[:"phyaddr"]&.value; end
|
#port ⇒ Integer
9451
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9451
def port; attributes[:"port"]&.value; end
|
#tp_mdix ⇒ Integer
9459
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9459
def tp_mdix; attributes[:"tp_mdix"]&.value; end
|
#tp_mdix_ctrl ⇒ Integer
9463
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9463
def tp_mdix_ctrl; attributes[:"tp_mdix_ctrl"]&.value; end
|
#transceiver ⇒ Integer
9467
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 9467
def transceiver; attributes[:"transceiver"]&.value; end
|