Class: Nl::Linux::Nftables::Messages::DoGetruleRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetruleRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump rules.
Constant Summary collapse
- TYPE =
2567- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::RuleAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table chain handle])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#chain ⇒ String
name of the chain containing the rule.
-
#handle ⇒ Integer
numeric handle of the rule.
- #nfgen_family ⇒ Integer
- #res_id ⇒ Integer
-
#table ⇒ String
name of the table containing the rule.
- #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
#chain ⇒ String
name of the chain containing the rule
5300 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5300 def chain; attributes[:"chain"]&.value; end |
#handle ⇒ Integer
numeric handle of the rule
5305 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5305 def handle; attributes[:"handle"]&.value; end |
#nfgen_family ⇒ Integer
5284 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5284 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
5290 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5290 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the rule
5295 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5295 def table; attributes[:"table"]&.value; end |
#version ⇒ Integer
5287 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5287 def version; fixed_header.version; end |