Class: Nl::Linux::Nftables::Messages::DumpGetchainReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DumpGetchainReply
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump chains.
Constant Summary collapse
- TYPE =
2563- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ChainAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table handle name hook policy use type counters flags id userdata])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#counters ⇒ AttributeSets::NftCounterAttrs
counter specification of the chain.
-
#flags ⇒ Integer
chain flags.
-
#handle ⇒ Integer
numeric handle of the chain.
-
#hook ⇒ AttributeSets::NftHookAttrs
hook specification for basechains.
-
#id ⇒ Integer
uniquely identifies a chain in a transaction.
-
#name ⇒ String
name of the chain.
- #nfgen_family ⇒ Integer
-
#policy ⇒ Integer
numeric policy of the chain.
- #res_id ⇒ Integer
-
#table ⇒ String
name of the table containing the chain.
-
#type ⇒ String
type name of the chain.
-
#use ⇒ Integer
number of references to this chain.
-
#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
#counters ⇒ AttributeSets::NftCounterAttrs
counter specification of the chain
5123 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5123 def counters; attributes[:"counters"]&.value; end |
#flags ⇒ Integer
chain flags
Known flags are defined in Flags::ChainFlags.
5130 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5130 def flags; attributes[:"flags"]&.value; end |
#handle ⇒ Integer
numeric handle of the chain
5093 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5093 def handle; attributes[:"handle"]&.value; end |
#hook ⇒ AttributeSets::NftHookAttrs
hook specification for basechains
5103 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5103 def hook; attributes[:"hook"]&.value; end |
#id ⇒ Integer
uniquely identifies a chain in a transaction
5135 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5135 def id; attributes[:"id"]&.value; end |
#name ⇒ String
name of the chain
5098 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5098 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
5077 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5077 def nfgen_family; fixed_header.nfgen_family; end |
#policy ⇒ Integer
numeric policy of the chain
5108 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5108 def policy; attributes[:"policy"]&.value; end |
#res_id ⇒ Integer
5083 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5083 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the chain
5088 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5088 def table; attributes[:"table"]&.value; end |
#type ⇒ String
type name of the chain
5118 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5118 def type; attributes[:"type"]&.value; end |
#use ⇒ Integer
number of references to this chain
5113 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5113 def use; attributes[:"use"]&.value; end |
#userdata ⇒ String
user data
5140 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5140 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
5080 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5080 def version; fixed_header.version; end |