Class: Nl::Linux::Ethtool::AttributeSets::Linkmodes
Defined Under Namespace
Classes: Attribute, Autoneg, Duplex, Header, Lanes, MasterSlaveCfg, MasterSlaveState, Ours, Peer, RateMatching, Speed
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
1400
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1400
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
1406
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1406
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#autoneg ⇒ Integer
1361
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1361
def autoneg; self[:"autoneg"]&.value; end
|
#duplex ⇒ Integer
1377
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1377
def duplex; self[:"duplex"]&.value; end
|
1357
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1357
def ; self[:"header"]&.value; end
|
#lanes ⇒ Integer
1389
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1389
def lanes; self[:"lanes"]&.value; end
|
#master_slave_cfg ⇒ Integer
1381
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1381
def master_slave_cfg; self[:"master_slave_cfg"]&.value; end
|
#master_slave_state ⇒ Integer
1385
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1385
def master_slave_state; self[:"master_slave_state"]&.value; end
|
1365
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1365
def ours; self[:"ours"]&.value; end
|
1369
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1369
def peer; self[:"peer"]&.value; end
|
#rate_matching ⇒ Integer
1393
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1393
def rate_matching; self[:"rate_matching"]&.value; end
|
#speed ⇒ Integer
1373
|
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 1373
def speed; self[:"speed"]&.value; end
|