Class: Nl::Linux::Nftables::Messages::DoGetchainReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetchainReply
- 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
5034 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5034 def counters; attributes[:"counters"]&.value; end |
#flags ⇒ Integer
chain flags
Known flags are defined in Flags::ChainFlags.
5041 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5041 def flags; attributes[:"flags"]&.value; end |
#handle ⇒ Integer
numeric handle of the chain
5004 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5004 def handle; attributes[:"handle"]&.value; end |
#hook ⇒ AttributeSets::NftHookAttrs
hook specification for basechains
5014 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5014 def hook; attributes[:"hook"]&.value; end |
#id ⇒ Integer
uniquely identifies a chain in a transaction
5046 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5046 def id; attributes[:"id"]&.value; end |
#name ⇒ String
name of the chain
5009 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5009 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
4988 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4988 def nfgen_family; fixed_header.nfgen_family; end |
#policy ⇒ Integer
numeric policy of the chain
5019 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5019 def policy; attributes[:"policy"]&.value; end |
#res_id ⇒ Integer
4994 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4994 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the chain
4999 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4999 def table; attributes[:"table"]&.value; end |
#type ⇒ String
type name of the chain
5029 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5029 def type; attributes[:"type"]&.value; end |
#use ⇒ Integer
number of references to this chain
5024 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5024 def use; attributes[:"use"]&.value; end |
#userdata ⇒ String
user data
5051 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5051 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
4991 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4991 def version; fixed_header.version; end |