Class: Nl::Linux::RtRoute::AttributeSets::RouteAttrs
Defined Under Namespace
Classes: Attribute, Cacheinfo, Dport, Dst, Encap, EncapType, Expires, Flow, Flowlabel, Gateway, Iif, IpProto, Mark, Metrics, MfcStats, MpAlgo, Multipath, Newdst, NhId, Oif, Pad, Pref, Prefsrc, Priority, Protoinfo, Session, Sport, Src, Table, TtlPropagate, Uid, Via
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.
518
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 518
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
524
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 524
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
435
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 435
def cacheinfo; self[:"cacheinfo"]&.value; end
|
#dport ⇒ Integer
503
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 503
def dport; self[:"dport"]&.value; end
|
#dst ⇒ String
391
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 391
def dst; self[:"dst"]&.value; end
|
#encap ⇒ String
475
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 475
def encap; self[:"encap"]&.value; end
|
#encap_type ⇒ Integer
471
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 471
def encap_type; self[:"encap_type"]&.value; end
|
#expires ⇒ Integer
479
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 479
def expires; self[:"expires"]&.value; end
|
#flow ⇒ Integer
431
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 431
def flow; self[:"flow"]&.value; end
|
#flowlabel ⇒ Integer
511
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 511
def flowlabel; self[:"flowlabel"]&.value; end
|
#gateway ⇒ String
407
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 407
def gateway; self[:"gateway"]&.value; end
|
#iif ⇒ Integer
399
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 399
def iif; self[:"iif"]&.value; end
|
#ip_proto ⇒ Integer
495
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 495
def ip_proto; self[:"ip_proto"]&.value; end
|
#mark ⇒ Integer
451
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 451
def mark; self[:"mark"]&.value; end
|
419
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 419
def metrics; self[:"metrics"]&.value; end
|
#mfc_stats ⇒ String
455
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 455
def mfc_stats; self[:"mfc_stats"]&.value; end
|
#mp_algo ⇒ String
443
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 443
def mp_algo; self[:"mp_algo"]&.value; end
|
#multipath ⇒ String
423
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 423
def multipath; self[:"multipath"]&.value; end
|
#newdst ⇒ String
463
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 463
def newdst; self[:"newdst"]&.value; end
|
#nh_id ⇒ Integer
507
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 507
def nh_id; self[:"nh_id"]&.value; end
|
#oif ⇒ Integer
403
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 403
def oif; self[:"oif"]&.value; end
|
#pad ⇒ String
483
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 483
def pad; self[:"pad"]&.value; end
|
#pref ⇒ Integer
467
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 467
def pref; self[:"pref"]&.value; end
|
#prefsrc ⇒ String
415
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 415
def prefsrc; self[:"prefsrc"]&.value; end
|
#priority ⇒ Integer
411
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 411
def priority; self[:"priority"]&.value; end
|
#protoinfo ⇒ String
427
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 427
def protoinfo; self[:"protoinfo"]&.value; end
|
#session ⇒ String
439
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 439
def session; self[:"session"]&.value; end
|
#sport ⇒ Integer
499
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 499
def sport; self[:"sport"]&.value; end
|
#src ⇒ String
395
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 395
def src; self[:"src"]&.value; end
|
#table ⇒ Integer
447
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 447
def table; self[:"table"]&.value; end
|
#ttl_propagate ⇒ Integer
491
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 491
def ttl_propagate; self[:"ttl_propagate"]&.value; end
|
#uid ⇒ Integer
487
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 487
def uid; self[:"uid"]&.value; end
|
#via ⇒ String
459
|
# File 'nl-linux/generated/nl/linux/rt_route.rb', line 459
def via; self[:"via"]&.value; end
|