Class: Nl::Linux::Nftables::AttributeSets::ExprCtAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprCtAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Direction, 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
-
#direction ⇒ Integer
Known enum values are defined in Enums::CtDirection.
- #dreg ⇒ Integer
-
#key ⇒ Integer
Known enum values are defined in Enums::CtKeys.
- #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.
3063 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3063 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3069 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3069 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#direction ⇒ Integer
Known enum values are defined in Enums::CtDirection.
3052 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3052 def direction; self[:"direction"]&.value; end |
#dreg ⇒ Integer
3042 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3042 def dreg; self[:"dreg"]&.value; end |
#key ⇒ Integer
Known enum values are defined in Enums::CtKeys.
3047 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3047 def key; self[:"key"]&.value; end |
#sreg ⇒ Integer
3056 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3056 def sreg; self[:"sreg"]&.value; end |