Class: Nl::Linux::Nftables::Messages::DoNewtableRequest
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoNewtableRequest
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Create a new table.
Constant Summary collapse
- TYPE =
2560- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::TableAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[name flags userdata])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#flags ⇒ Integer
bitmask of flags.
-
#name ⇒ String
name of the table.
- #nfgen_family ⇒ Integer
- #res_id ⇒ Integer
-
#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
#flags ⇒ Integer
bitmask of flags
Known flags are defined in Flags::TableFlags.
4698 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4698 def flags; attributes[:"flags"]&.value; end |
#name ⇒ String
name of the table
4691 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4691 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
4680 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4680 def nfgen_family; fixed_header.nfgen_family; end |
#res_id ⇒ Integer
4686 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4686 def res_id; fixed_header.res_id; end |
#userdata ⇒ String
user data
4703 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4703 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
4683 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4683 def version; fixed_header.version; end |