Class: Nl::Linux::Nftables::AttributeSets::ExprLookupAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprLookupAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Dreg, Flags, Set, SetId, 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
-
#flags ⇒ Integer
Known flags are defined in Flags::LookupFlags.
-
#set ⇒ String
Name of set to use.
-
#set_id ⇒ Integer
ID of set to use.
- #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.
3234 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3234 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3240 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3240 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#dreg ⇒ Integer
3222 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3222 def dreg; self[:"dreg"]&.value; end |
#flags ⇒ Integer
Known flags are defined in Flags::LookupFlags.
3227 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3227 def flags; self[:"flags"]&.value; end |
#set ⇒ String
Name of set to use
3209 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3209 def set; self[:"set"]&.value; end |
#set_id ⇒ Integer
ID of set to use
3214 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3214 def set_id; self[:"set_id"]&.value; end |
#sreg ⇒ Integer
3218 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3218 def sreg; self[:"sreg"]&.value; end |