Class: Nl::Linux::Nftables::Messages::DoDelflowtableRequest

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

Overview

Delete an existing flow table.

Constant Summary collapse

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



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

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

#hook ⇒ AttributeSets::FlowtableHookAttrs



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end