Class: Nl::Linux::Nftables::Messages::DoDestroyobjRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoDestroyobjRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Delete an existing stateful object with destroy semantics.
Constant Summary collapse
- TYPE =
2591- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ObjAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name type handle])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#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.
- #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
#handle ⇒ Integer
object handle
6696 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6696 def handle; attributes[:"handle"]&.value; end |
#name ⇒ String
name of this expression type
6684 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6684 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
6668 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6668 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
6674 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6674 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the expression
6679 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6679 def table; attributes[:"table"]&.value; end |
#type ⇒ Integer
stateful object type
Known enum values are defined in Enums::ObjectType.
6691 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6691 def type; attributes[:"type"]&.value; end |
#version ⇒ Integer
6671 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6671 def version; fixed_header.version; end |