Class: Nl::Linux::Nftables::AttributeSets::ExprMetaAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprMetaAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Dreg, Key, Sreg
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
- #dreg ⇒ Integer
-
#key ⇒ Integer
Known enum values are defined in Enums::MetaKeys.
- #sreg ⇒ Integer
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.
3360 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3360 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3366 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3366 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#dreg ⇒ Integer
3344 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3344 def dreg; self[:"dreg"]&.value; end |
#key ⇒ Integer
Known enum values are defined in Enums::MetaKeys.
3349 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3349 def key; self[:"key"]&.value; end |
#sreg ⇒ Integer
3353 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3353 def sreg; self[:"sreg"]&.value; end |