Class: Nl::Linux::Tc::AttributeSets::CodelAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::CodelAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Attribute, CeThreshold, Ecn, Interval, Limit, Target
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
5902 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5902 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
5908 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5908 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#ce_threshold ⇒ Integer
5895 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5895 def ce_threshold; self[:"ce_threshold"]&.value; end |
#ecn ⇒ Integer
5891 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5891 def ecn; self[:"ecn"]&.value; end |
#interval ⇒ Integer
5887 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5887 def interval; self[:"interval"]&.value; end |
#limit ⇒ Integer
5883 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5883 def limit; self[:"limit"]&.value; end |
#target ⇒ Integer
5879 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 5879 def target; self[:"target"]&.value; end |