Class: Nl::Linux::Nftables::Messages::DoDestroyobjRequest

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

Overview

Delete an existing stateful object with destroy semantics.

Constant Summary collapse

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

object handle

Returns:

  • (Integer)

See Also:



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

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

#name ⇒ String

name of this expression type

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

name of the table containing the expression

Returns:

  • (String)

See Also:



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

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

#type ⇒ Integer

stateful object type

Known enum values are defined in Enums::ObjectType.

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end