Class: Nl::Linux::Nftables::Messages::DoGettableReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DoGettableReply
- Defined in:
- nl-linux/generated/nl/linux/nftables.rb
Overview
Get / dump tables.
Constant Summary collapse
- TYPE =
2560- FIXED_HEADER =
Structs::Nfgenmsg
- ATTRIBUTE_SET =
AttributeSets::TableAttrs
- ATTRIBUTES =
Ractor.make_shareable(%i[name flags use handle userdata owner])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#flags ⇒ Integer
bitmask of flags.
-
#handle ⇒ Integer
numeric handle of the table.
-
#name ⇒ String
name of the table.
- #nfgen_family ⇒ Integer
-
#owner ⇒ Integer
owner of this table through netlink portID.
- #res_id ⇒ Integer
-
#use ⇒ Integer
number of chains in this table.
-
#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.
4752 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4752 def flags; attributes[:"flags"]&.value; end |
#handle ⇒ Integer
numeric handle of the table
4762 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4762 def handle; attributes[:"handle"]&.value; end |
#name ⇒ String
name of the table
4745 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4745 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
4734 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4734 def nfgen_family; fixed_header.nfgen_family; end |
#owner ⇒ Integer
owner of this table through netlink portID
4772 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4772 def owner; attributes[:"owner"]&.value; end |
#res_id ⇒ Integer
4740 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4740 def res_id; fixed_header.res_id; end |
#use ⇒ Integer
number of chains in this table
4757 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4757 def use; attributes[:"use"]&.value; end |
#userdata ⇒ String
user data
4767 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4767 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
4737 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4737 def version; fixed_header.version; end |