Class: Nl::Linux::Nftables::Messages::DoGetobjReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGetobjReply
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump stateful objects.
Constant Summary collapse
- TYPE =
2578- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ObjAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name type data use handle userdata])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#data ⇒ SubMessages::ObjData::Counter, ...
stateful object data.
-
#handle ⇒ Integer
object handle.
-
#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.
-
#use ⇒ Integer
number of references to this expression.
-
#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
#data ⇒ SubMessages::ObjData::Counter, ...
stateful object data
6524 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6524 def data; attributes[:"data"]&.value; end |
#handle ⇒ Integer
object handle
6534 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6534 def handle; attributes[:"handle"]&.value; end |
#name ⇒ String
name of this expression type
6512 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6512 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
6496 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6496 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
6502 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6502 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the expression
6507 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6507 def table; attributes[:"table"]&.value; end |
#type ⇒ Integer
stateful object type
Known enum values are defined in Enums::ObjectType.
6519 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6519 def type; attributes[:"type"]&.value; end |
#use ⇒ Integer
number of references to this expression
6529 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6529 def use; attributes[:"use"]&.value; end |
#userdata ⇒ String
user data
6539 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6539 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
6499 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6499 def version; fixed_header.version; end |