Class: Nl::Linux::RtAddr::AttributeSets::AddrAttrs
Defined Under Namespace
Classes: Address, Anycast, Attribute, Broadcast, Cacheinfo, Flags, Label, Local, Multicast, Proto, RtPriority, TargetNetnsid
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.
267
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 267
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
273
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 273
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#address ⇒ String
219
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 219
def address; self[:"address"]&.value; end
|
#anycast ⇒ String
235
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 235
def anycast; self[:"anycast"]&.value; end
|
#broadcast ⇒ Integer
231
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 231
def broadcast; self[:"broadcast"]&.value; end
|
239
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 239
def cacheinfo; self[:"cacheinfo"]&.value; end
|
#flags ⇒ Integer
248
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 248
def flags; self[:"flags"]&.value; end
|
#label ⇒ String
227
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 227
def label; self[:"label"]&.value; end
|
#local ⇒ String
223
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 223
def local; self[:"local"]&.value; end
|
#multicast ⇒ String
243
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 243
def multicast; self[:"multicast"]&.value; end
|
#proto ⇒ Integer
260
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 260
def proto; self[:"proto"]&.value; end
|
#rt_priority ⇒ Integer
252
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 252
def rt_priority; self[:"rt_priority"]&.value; end
|
#target_netnsid ⇒ String
256
|
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 256
def target_netnsid; self[:"target_netnsid"]&.value; end
|