Class: Nl::Linux::Nftables::Messages::DoDeltableRequest

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

Overview

Delete an existing table.

Constant Summary collapse

TYPE =
2562
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:



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

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

#name ⇒ String

name of the table

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end