Class: Nl::Linux::Nftables::Messages::DoGetchainRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetchainRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump chains.
Constant Summary collapse
- TYPE =
2564- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ChainAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#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
#name ⇒ String
name of the chain
4978 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4978 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
4962 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4962 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
4968 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4968 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the chain
4973 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4973 def table; attributes[:"table"]&.value; end |
#version ⇒ Integer
4965 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4965 def version; fixed_header.version; end |