Class: Nl::Linux::Tc::AttributeSets::MatchallAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::MatchallAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Act, Attribute, Classid, Flags, Pad, Pcnt
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
- #flags ⇒ Integer
- #pcnt ⇒ Structs::TcMatchallPcnt
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.
8898 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8898 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
8904 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8904 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#act ⇒ Array<AttributeSets::ActAttrs>
8883 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8883 def act; self[:"act"]&.value; end |
#classid ⇒ Integer
8879 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8879 def classid; self[:"classid"]&.value; end |
#flags ⇒ Integer
8887 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8887 def flags; self[:"flags"]&.value; end |
#pcnt ⇒ Structs::TcMatchallPcnt
8891 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 8891 def pcnt; self[:"pcnt"]&.value; end |