Class: Nl::Linux::Nftables::Messages::DoDestroyflowtableRequest

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

Overview

Delete an existing flow table with destroy semantics.

Constant Summary collapse

TYPE =
2592
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::FlowtableAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table name hook 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

Returns:

  • (Integer)

See Also:



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

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

#hook ⇒ AttributeSets::FlowtableHookAttrs



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end