Class: Nl::Linux::Nftables::Messages::DumpGetsetReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DumpGetsetReply
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump sets.
Constant Summary collapse
- TYPE =
2569- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::SetAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name flags key_type key_len data_type data_len policy desc gc_interval userdata obj_type handle expr expressions])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#data_len ⇒ Integer
mapping data length.
-
#data_type ⇒ Integer
mapping data type.
-
#desc ⇒ AttributeSets::SetDescAttrs
set description.
-
#expr ⇒ Array<AttributeSets::ExprAttrs>
set expression.
-
#expressions ⇒ AttributeSets::SetListAttrs
list of expressions.
-
#flags ⇒ Integer
bitmask of enum nft_set_flags.
-
#gc_interval ⇒ Integer
garbage collection interval.
-
#handle ⇒ Integer
set handle.
-
#key_len ⇒ Integer
key data length.
-
#key_type ⇒ Integer
key data type, informational purpose only.
-
#name ⇒ String
set name.
- #nfgen_family ⇒ Integer
-
#obj_type ⇒ Integer
stateful object type.
-
#policy ⇒ Integer
selection policy.
- #res_id ⇒ Integer
-
#table ⇒ String
table name.
-
#userdata ⇒ String
user data.
- #version ⇒ Integer
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#data_len ⇒ Integer
mapping data length
5930 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5930 def data_len; attributes[:"data_len"]&.value; end |
#data_type ⇒ Integer
mapping data type
5925 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5925 def data_type; attributes[:"data_type"]&.value; end |
#desc ⇒ AttributeSets::SetDescAttrs
set description
5940 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5940 def desc; attributes[:"desc"]&.value; end |
#expr ⇒ Array<AttributeSets::ExprAttrs>
set expression
5965 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5965 def expr; attributes[:"expr"].map(&:value); end |
#expressions ⇒ AttributeSets::SetListAttrs
list of expressions
5970 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5970 def expressions; attributes[:"expressions"]&.value; end |
#flags ⇒ Integer
bitmask of enum nft_set_flags
Known flags are defined in Flags::SetFlags.
5910 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5910 def flags; attributes[:"flags"]&.value; end |
#gc_interval ⇒ Integer
garbage collection interval
5945 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5945 def gc_interval; attributes[:"gc_interval"]&.value; end |
#handle ⇒ Integer
set handle
5960 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5960 def handle; attributes[:"handle"]&.value; end |
#key_len ⇒ Integer
key data length
5920 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5920 def key_len; attributes[:"key_len"]&.value; end |
#key_type ⇒ Integer
key data type, informational purpose only
5915 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5915 def key_type; attributes[:"key_type"]&.value; end |
#name ⇒ String
set name
5903 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5903 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
5887 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5887 def nfgen_family; fixed_header.nfgen_family; end |
#obj_type ⇒ Integer
stateful object type
5955 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5955 def obj_type; attributes[:"obj_type"]&.value; end |
#policy ⇒ Integer
selection policy
5935 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5935 def policy; attributes[:"policy"]&.value; end |
#res_id ⇒ Integer
5893 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5893 def res_id; fixed_header.res_id; end |
#table ⇒ String
table name
5898 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5898 def table; attributes[:"table"]&.value; end |
#userdata ⇒ String
user data
5950 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5950 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
5890 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5890 def version; fixed_header.version; end |