Class: Nl::Linux::Nftables::Messages::DumpGettableReply
- Inherits:
-
Raw::Message
- Object
- Raw::Message
- Nl::Linux::Nftables::Messages::DumpGettableReply
- 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.
4816 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4816 def flags; attributes[:"flags"]&.value; end |
#handle ⇒ Integer
numeric handle of the table
4826 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4826 def handle; attributes[:"handle"]&.value; end |
#name ⇒ String
name of the table
4809 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4809 def name; attributes[:"name"]&.value; end |
#nfgen_family ⇒ Integer
4798 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4798 def nfgen_family; fixed_header.nfgen_family; end |
#owner ⇒ Integer
owner of this table through netlink portID
4836 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4836 def owner; attributes[:"owner"]&.value; end |
#res_id ⇒ Integer
4804 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4804 def res_id; fixed_header.res_id; end |
#use ⇒ Integer
number of chains in this table
4821 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4821 def use; attributes[:"use"]&.value; end |
#userdata ⇒ String
user data
4831 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4831 def userdata; attributes[:"userdata"]&.value; end |
#version ⇒ Integer
4801 |
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4801 def version; fixed_header.version; end |