Class: Nl::Linux::RtRule::AttributeSets::FibRuleAttrs
Defined Under Namespace
Classes: Attribute, DportMask, DportRange, Dscp, DscpMask, Dst, Flow, Flowlabel, FlowlabelMask, Fwmark, Fwmask, Goto, Iifname, IpProto, L3mdev, Oifname, Pad, Priority, Protocol, SportMask, SportRange, Src, SuppressIfgroup, SuppressPrefixlen, Table, TunId, UidRange, Unused2, Unused3, Unused4, Unused5
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.
532
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 532
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
538
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 538
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#dport_mask ⇒ Integer
521
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 521
def dport_mask; self[:"dport_mask"]&.value; end
|
501
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 501
def dport_range; self[:"dport_range"]&.value; end
|
#dscp ⇒ Integer
505
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 505
def dscp; self[:"dscp"]&.value; end
|
#dscp_mask ⇒ Integer
525
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 525
def dscp_mask; self[:"dscp_mask"]&.value; end
|
#dst ⇒ String
429
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 429
def dst; self[:"dst"]&.value; end
|
#flow ⇒ Integer
453
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 453
def flow; self[:"flow"]&.value; end
|
#flowlabel ⇒ Integer
509
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 509
def flowlabel; self[:"flowlabel"]&.value; end
|
#flowlabel_mask ⇒ Integer
513
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 513
def flowlabel_mask; self[:"flowlabel_mask"]&.value; end
|
#fwmark ⇒ Integer
449
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 449
def fwmark; self[:"fwmark"]&.value; end
|
#fwmask ⇒ Integer
473
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 473
def fwmask; self[:"fwmask"]&.value; end
|
#goto ⇒ Integer
441
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 441
def goto; self[:"goto"]&.value; end
|
#iifname ⇒ String
437
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 437
def iifname; self[:"iifname"]&.value; end
|
#ip_proto ⇒ Integer
493
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 493
def ip_proto; self[:"ip_proto"]&.value; end
|
#l3mdev ⇒ Integer
481
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 481
def l3mdev; self[:"l3mdev"]&.value; end
|
#oifname ⇒ String
477
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 477
def oifname; self[:"oifname"]&.value; end
|
#priority ⇒ Integer
445
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 445
def priority; self[:"priority"]&.value; end
|
#protocol ⇒ Integer
489
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 489
def protocol; self[:"protocol"]&.value; end
|
#sport_mask ⇒ Integer
517
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 517
def sport_mask; self[:"sport_mask"]&.value; end
|
497
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 497
def sport_range; self[:"sport_range"]&.value; end
|
#src ⇒ String
433
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 433
def src; self[:"src"]&.value; end
|
#suppress_ifgroup ⇒ Integer
461
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 461
def suppress_ifgroup; self[:"suppress_ifgroup"]&.value; end
|
#suppress_prefixlen ⇒ Integer
465
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 465
def suppress_prefixlen; self[:"suppress_prefixlen"]&.value; end
|
#table ⇒ Integer
469
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 469
def table; self[:"table"]&.value; end
|
#tun_id ⇒ Integer
457
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 457
def tun_id; self[:"tun_id"]&.value; end
|
485
|
# File 'nl-linux/generated/nl/linux/rt_rule.rb', line 485
def uid_range; self[:"uid_range"]&.value; end
|