Class: Nl::Linux::Tc::AttributeSets::FwAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::FwAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Act, Attribute, Classid, Indev, Mask, Police
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
- #act ⇒ Array<AttributeSets::ActAttrs>
- #classid ⇒ Integer
- #indev ⇒ String
- #mask ⇒ Integer
- #police ⇒ AttributeSets::PoliceAttrs
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.
8237 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8237 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
8243 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8243 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#act ⇒ Array<AttributeSets::ActAttrs>
8226 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8226 def act; self[:"act"]&.value; end |
#classid ⇒ Integer
8214 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8214 def classid; self[:"classid"]&.value; end |
#indev ⇒ String
8222 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8222 def indev; self[:"indev"]&.value; end |
#mask ⇒ Integer
8230 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8230 def mask; self[:"mask"]&.value; end |
#police ⇒ AttributeSets::PoliceAttrs
8218 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8218 def police; self[:"police"]&.value; end |