Class: Nl::Linux::RtLink::AttributeSets::LinkinfoTunAttrs
Defined Under Namespace
Classes: Attribute, Group, MultiQueue, NumDisabledQueues, NumQueues, Owner, Persist, Pi, Type, VnetHdr
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.
5990
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5990
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
5996
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5996
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#group ⇒ Integer
5955
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5955
def group; self[:"group"]&.value; end
|
#multi_queue ⇒ Integer
5975
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5975
def multi_queue; self[:"multi_queue"]&.value; end
|
#num_disabled_queues ⇒ Integer
5983
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5983
def num_disabled_queues; self[:"num_disabled_queues"]&.value; end
|
#num_queues ⇒ Integer
5979
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5979
def num_queues; self[:"num_queues"]&.value; end
|
#owner ⇒ Integer
5951
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5951
def owner; self[:"owner"]&.value; end
|
#persist ⇒ Integer
5971
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5971
def persist; self[:"persist"]&.value; end
|
#pi ⇒ Integer
5963
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5963
def pi; self[:"pi"]&.value; end
|
#type ⇒ Integer
5959
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5959
def type; self[:"type"]&.value; end
|
#vnet_hdr ⇒ Integer
5967
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 5967
def vnet_hdr; self[:"vnet_hdr"]&.value; end
|