Class: Nl::Linux::Nftables::Messages::DoDelobjRequest

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

Overview

Delete an existing stateful object.

Constant Summary collapse

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



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

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

#name ⇒ String

name of this expression type

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

name of the table containing the expression

Returns:

  • (String)

See Also:



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

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

#type ⇒ Integer

stateful object type

Known enum values are defined in Enums::ObjectType.

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end