Class: Nl::Linux::Tc::AttributeSets::RouteAttrs
Defined Under Namespace
Classes: Act, Attribute, Classid, From, Iif, Police, To
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.
10350
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10350
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
10356
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10356
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
10343
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10343
def act; self[:"act"]&.value; end
|
#classid ⇒ Integer
10323
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10323
def classid; self[:"classid"]&.value; end
|
#from ⇒ Integer
10331
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10331
def from; self[:"from"]&.value; end
|
#iif ⇒ Integer
10335
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10335
def iif; self[:"iif"]&.value; end
|
10339
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10339
def police; self[:"police"]&.value; end
|
#to ⇒ Integer
10327
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10327
def to; self[:"to"]&.value; end
|