Class: Nl::Linux::Tc::AttributeSets::BasicAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::BasicAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Act, Attribute, Classid, Ematches, Pad, Pcnt, 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
- #ematches ⇒ AttributeSets::EmatchAttrs
- #pcnt ⇒ Structs::TcBasicPcnt
- #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.
4744 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4744 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
4750 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4750 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#act ⇒ Array<AttributeSets::ActAttrs>
4729 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4729 def act; self[:"act"]&.value; end |
#classid ⇒ Integer
4721 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4721 def classid; self[:"classid"]&.value; end |
#ematches ⇒ AttributeSets::EmatchAttrs
4725 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4725 def ematches; self[:"ematches"]&.value; end |
#pcnt ⇒ Structs::TcBasicPcnt
4737 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4737 def pcnt; self[:"pcnt"]&.value; end |
#police ⇒ AttributeSets::PoliceAttrs
4733 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 4733 def police; self[:"police"]&.value; end |