Class: Nl::Linux::Nftables::Messages::DoDelchainRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoDelchainRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Delete an existing chain.
Constant Summary collapse
- TYPE =
2565- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ChainAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table handle name hook])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#handle ⇒ Integer
numeric handle of the chain.
-
#hook ⇒ AttributeSets::NftHookAttrs
hook specification for basechains.
-
#name ⇒ String
name of the chain.
- #nfgen_family ⇒ Integer
- #res_id ⇒ Integer
-
#table ⇒ String
name of the table containing the chain.
- #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
#handle ⇒ Integer
numeric handle of the chain
5166 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5166 def handle; attributes[:"handle"]&.value; end |
#hook ⇒ AttributeSets::NftHookAttrs
hook specification for basechains
5176 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5176 def hook; attributes[:"hook"]&.value; end |
#name ⇒ String
name of the chain
5171 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5171 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
5150 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5150 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
5156 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5156 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the chain
5161 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5161 def table; attributes[:"table"]&.value; end |
#version ⇒ Integer
5153 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5153 def version; fixed_header.version; end |