Class: Nl::Linux::Nftables::AttributeSets::SetelemAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Nftables::AttributeSets::SetelemAttrs
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Defined Under Namespace
Classes: Attribute, Data, Expiration, Expr, Expressions, Flags, Key, KeyEnd, Objref, Timeout, Userdata
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
-
#data ⇒ AttributeSets::DataAttrs
data value of mapping.
-
#expiration ⇒ Integer
expiration time.
-
#expr ⇒ AttributeSets::ExprAttrs
expression.
-
#expressions ⇒ AttributeSets::ExprListAttrs
list of expressions.
-
#flags ⇒ String
bitmask of nft_set_elem_flags.
-
#key ⇒ AttributeSets::DataAttrs
key value.
-
#key_end ⇒ AttributeSets::DataAttrs
closing key value.
-
#objref ⇒ String
stateful object reference.
-
#timeout ⇒ Integer
timeout value.
-
#userdata ⇒ String
user data.
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.
2049 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2049 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
2055 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2055 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#data ⇒ AttributeSets::DataAttrs
data value of mapping
2002 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2002 def data; self[:"data"]&.value; end |
#expiration ⇒ Integer
expiration time
2017 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2017 def expiration; self[:"expiration"]&.value; end |
#expr ⇒ AttributeSets::ExprAttrs
expression
2027 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2027 def expr; self[:"expr"]&.value; end |
#expressions ⇒ AttributeSets::ExprListAttrs
list of expressions
2042 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2042 def expressions; self[:"expressions"]&.value; end |
#flags ⇒ String
bitmask of nft_set_elem_flags
2007 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2007 def flags; self[:"flags"]&.value; end |
#key ⇒ AttributeSets::DataAttrs
key value
1997 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 1997 def key; self[:"key"]&.value; end |
#key_end ⇒ AttributeSets::DataAttrs
closing key value
2037 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2037 def key_end; self[:"key_end"]&.value; end |
#objref ⇒ String
stateful object reference
2032 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2032 def objref; self[:"objref"]&.value; end |
#timeout ⇒ Integer
timeout value
2012 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2012 def timeout; self[:"timeout"]&.value; end |
#userdata ⇒ String
user data
2022 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 2022 def userdata; self[:"userdata"]&.value; end |