Class: Nl::Linux::Nftables::Messages::DoGetruleResetReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetruleResetReply
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump rules and reset stateful expressions.
Constant Summary collapse
- TYPE =
2566- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::RuleAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table chain handle expressions position userdata])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#chain ⇒ String
name of the chain containing the rule.
-
#expressions ⇒ AttributeSets::ExprListAttrs
list of expressions.
-
#handle ⇒ Integer
numeric handle of the rule.
- #nfgen_family ⇒ Integer
-
#position ⇒ Integer
numeric handle of the previous rule.
- #res_id ⇒ Integer
-
#table ⇒ String
name of the table containing the rule.
-
#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
#chain ⇒ String
name of the chain containing the rule
5480 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5480 def chain; attributes[:"chain"]&.value; end |
#expressions ⇒ AttributeSets::ExprListAttrs
list of expressions
5490 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5490 def expressions; attributes[:"expressions"]&.value; end |
#handle ⇒ Integer
numeric handle of the rule
5485 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5485 def handle; attributes[:"handle"]&.value; end |
#nfgen_family ⇒ Integer
5464 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5464 def nfgen_family; fixed_header.nfgen_family; end |
#position ⇒ Integer
numeric handle of the previous rule
5495 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5495 def position; attributes[:"position"]&.value; end |
#res_id ⇒ Integer
5470 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5470 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the rule
5475 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5475 def table; attributes[:"table"]&.value; end |
#userdata ⇒ String
user data
5500 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5500 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
5467 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 5467 def version; fixed_header.version; end |