Class: Nl::Linux::Tc::AttributeSets::EtsAttrs
Defined Under Namespace
Classes: Attribute, Nbands, Nstrict, Priomap, PriomapBand, Quanta, QuantaBand
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.
9028
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9028
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
9034
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9034
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#nbands ⇒ Integer
9001
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9001
def nbands; self[:"nbands"]&.value; end
|
#nstrict ⇒ Integer
9005
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9005
def nstrict; self[:"nstrict"]&.value; end
|
9017
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9017
def priomap; self[:"priomap"]&.value; end
|
#priomap_band ⇒ Array<Integer>
9021
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9021
def priomap_band; self[:"priomap_band"].map(&:value); end
|
9009
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9009
def quanta; self[:"quanta"]&.value; end
|
#quanta_band ⇒ Array<Integer>
9013
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 9013
def quanta_band; self[:"quanta_band"].map(&:value); end
|