Class: Nl::Linux::Nftables::AttributeSets::ExprObjrefAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::ExprObjrefAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, ImmName, ImmType, SetId, SetName, SetSreg
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
-
#imm_name ⇒ String
object name.
- #imm_type ⇒ Integer
-
#set_id ⇒ Integer
id of object map.
-
#set_name ⇒ String
name of object map.
- #set_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.
3873 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3873 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3879 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3879 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#imm_name ⇒ String
object name
3852 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3852 def imm_name; self[:"imm_name"]&.value; end |
#imm_type ⇒ Integer
3847 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3847 def imm_type; self[:"imm_type"]&.value; end |
#set_id ⇒ Integer
id of object map
3866 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3866 def set_id; self[:"set_id"]&.value; end |
#set_name ⇒ String
name of object map
3861 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3861 def set_name; self[:"set_name"]&.value; end |
#set_sreg ⇒ Integer
3856 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 3856 def set_sreg; self[:"set_sreg"]&.value; end |