Class: Nl::Linux::RtLink::AttributeSets::VfStatsAttrs
Defined Under Namespace
Classes: Attribute, Broadcast, Multicast, Pad, RxBytes, RxDropped, RxPackets, TxBytes, TxDropped, TxPackets
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.
2280
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2280
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
2286
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2286
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#broadcast ⇒ Integer
2261
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2261
def broadcast; self[:"broadcast"]&.value; end
|
#multicast ⇒ Integer
2265
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2265
def multicast; self[:"multicast"]&.value; end
|
#rx_bytes ⇒ Integer
2253
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2253
def rx_bytes; self[:"rx_bytes"]&.value; end
|
#rx_dropped ⇒ Integer
2269
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2269
def rx_dropped; self[:"rx_dropped"]&.value; end
|
#rx_packets ⇒ Integer
2245
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2245
def rx_packets; self[:"rx_packets"]&.value; end
|
#tx_bytes ⇒ Integer
2257
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2257
def tx_bytes; self[:"tx_bytes"]&.value; end
|
#tx_dropped ⇒ Integer
2273
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2273
def tx_dropped; self[:"tx_dropped"]&.value; end
|
#tx_packets ⇒ Integer
2249
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2249
def tx_packets; self[:"tx_packets"]&.value; end
|