Class: Nl::Linux::RtLink::AttributeSets::LinkinfoVtiAttrs
Defined Under Namespace
Classes: Attribute, Fwmark, Ikey, Link, Local, Okey, Remote
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.
4952
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4952
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
4958
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4958
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#fwmark ⇒ Integer
4945
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4945
def fwmark; self[:"fwmark"]&.value; end
|
#ikey ⇒ Integer
4929
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4929
def ikey; self[:"ikey"]&.value; end
|
#link ⇒ Integer
4925
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4925
def link; self[:"link"]&.value; end
|
#local ⇒ String
4937
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4937
def local; self[:"local"]&.value; end
|
#okey ⇒ Integer
4933
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4933
def okey; self[:"okey"]&.value; end
|
#remote ⇒ String
4941
|
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 4941
def remote; self[:"remote"]&.value; end
|