Class: Nl::Linux::Nftables::Messages::DoGetobjRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetobjRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump stateful objects.
Constant Summary collapse
- TYPE =
2579- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ObjAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name type])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#name ⇒ String
name of this expression type.
- #nfgen_family ⇒ Integer
- #res_id ⇒ Integer
-
#table ⇒ String
name of the table containing the expression.
-
#type ⇒ Integer
stateful object type.
- #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 this expression type
6479 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6479 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
6463 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6463 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
6469 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6469 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the expression
6474 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6474 def table; attributes[:"table"]&.value; end |
#type ⇒ Integer
stateful object type
Known enum values are defined in Enums::ObjectType.
6486 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6486 def type; attributes[:"type"]&.value; end |
#version ⇒ Integer
6466 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6466 def version; fixed_header.version; end |