Class: Nl::Linux::Nftables::Messages::DoNewobjRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoNewobjRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Create a new stateful object.
Constant Summary collapse
- TYPE =
2578- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::ObjAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[table name type data userdata])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#data ⇒ SubMessages::ObjData::Counter, ...
stateful object data.
-
#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.
-
#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
6448 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6448 def data; attributes[:"data"]&.value; end |
#name ⇒ String
name of this expression type
6436 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6436 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
6420 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6420 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
6426 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6426 def res_id; fixed_header.res_id; end |
#table ⇒ String
name of the table containing the expression
6431 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6431 def table; attributes[:"table"]&.value; end |
#type ⇒ Integer
stateful object type
Known enum values are defined in Enums::ObjectType.
6443 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6443 def type; attributes[:"type"]&.value; end |
#userdata ⇒ String
user data
6453 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6453 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
6423 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 6423 def version; fixed_header.version; end |