Class: Nl::Linux::Nftables::Messages::DoDestroytableRequest

Inherits:
Raw::Message
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/nftables.rb

Overview

Delete an existing table with destroy semantics (ignoring ENOENT errors).

Constant Summary collapse

TYPE =
2586
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::TableAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[name handle])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#handle ⇒ Integer

numeric handle of the table

Returns:

  • (Integer)

See Also:



4889
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4889

def handle; attributes[:"handle"]&.value; end

#name ⇒ String

name of the table

Returns:

  • (String)

See Also:



4884
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4884

def name; attributes[:"name"]&.value; end

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


4873
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4873

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


4879
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4879

def res_id; fixed_header.res_id; end

#version ⇒ Integer

Returns:

  • (Integer)


4876
# File 'nl-linux/generated/nl/linux/nftables.rb', line 4876

def version; fixed_header.version; end