Class: Nl::Linux::Tc::AttributeSets::RedAttrs
Defined Under Namespace
Classes: Attribute, EarlyDropBlock, Flags, MarkBlock, MaxP, Parms, Stab
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.
10259
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10259
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
10265
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10265
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#early_drop_block ⇒ Integer
10248
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10248
def early_drop_block; self[:"early_drop_block"]&.value; end
|
10244
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10244
def flags; self[:"flags"]&.value; end
|
#mark_block ⇒ Integer
10252
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10252
def mark_block; self[:"mark_block"]&.value; end
|
#max_p ⇒ Integer
10240
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10240
def max_p; self[:"max_p"]&.value; end
|
10232
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10232
def parms; self[:"parms"]&.value; end
|
#stab ⇒ String
10236
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 10236
def stab; self[:"stab"]&.value; end
|