Class: Nl::Linux::Nftables::Messages::DoDestroysetRequest

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

Overview

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

Constant Summary collapse

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

set handle

Returns:

  • (Integer)

See Also:



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

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

#name ⇒ String

set name

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

table name

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end