Class: Nl::Linux::Tc::AttributeSets::ActMplsAttrs
Defined Under Namespace
Classes: Attribute, Bos, Label, Pad, Parms, Proto, Tc, Tm, Ttl
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.
3914
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3914
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
3920
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3920
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#bos ⇒ Integer
3907
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3907
def bos; self[:"bos"]&.value; end
|
#label ⇒ Integer
3895
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3895
def label; self[:"label"]&.value; end
|
3887
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3887
def parms; self[:"parms"]&.value; end
|
#proto ⇒ Integer
3891
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3891
def proto; self[:"proto"]&.value; end
|
#tc ⇒ Integer
3899
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3899
def tc; self[:"tc"]&.value; end
|
3883
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3883
def tm; self[:"tm"]&.value; end
|
#ttl ⇒ Integer
3903
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3903
def ttl; self[:"ttl"]&.value; end
|