Class: Nl::Linux::Nftables::Messages::DoGetsetReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetsetReply
- 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
5816 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5816 def data_len; attributes[:"data_len"]&.value; end |
#data_type ⇒ Integer
mapping data type
5811 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5811 def data_type; attributes[:"data_type"]&.value; end |
#desc ⇒ AttributeSets::SetDescAttrs
set description
5826 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5826 def desc; attributes[:"desc"]&.value; end |
#expr ⇒ Array<AttributeSets::ExprAttrs>
set expression
5851 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5851 def expr; attributes[:"expr"].map(&:value); end |
#expressions ⇒ AttributeSets::SetListAttrs
list of expressions
5856 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5856 def expressions; attributes[:"expressions"]&.value; end |
#flags ⇒ Integer
bitmask of enum nft_set_flags
Known flags are defined in Flags::SetFlags.
5796 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5796 def flags; attributes[:"flags"]&.value; end |
#gc_interval ⇒ Integer
garbage collection interval
5831 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5831 def gc_interval; attributes[:"gc_interval"]&.value; end |
#handle ⇒ Integer
set handle
5846 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5846 def handle; attributes[:"handle"]&.value; end |
#key_len ⇒ Integer
key data length
5806 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5806 def key_len; attributes[:"key_len"]&.value; end |
#key_type ⇒ Integer
key data type, informational purpose only
5801 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5801 def key_type; attributes[:"key_type"]&.value; end |
#name ⇒ String
set name
5789 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5789 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
5773 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5773 def nfgen_family; fixed_header.nfgen_family; end |
#obj_type ⇒ Integer
stateful object type
5841 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5841 def obj_type; attributes[:"obj_type"]&.value; end |
#policy ⇒ Integer
selection policy
5821 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5821 def policy; attributes[:"policy"]&.value; end |
#res_id ⇒ Integer
5779 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5779 def res_id; fixed_header.res_id; end |
#table ⇒ String
table name
5784 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5784 def table; attributes[:"table"]&.value; end |
#userdata ⇒ String
user data
5836 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5836 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
5776 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5776 def version; fixed_header.version; end |