Class: Nl::Linux::Nftables::Messages::DoDelsetelemRequest

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

Overview

Delete an existing set element.

Constant Summary collapse

TYPE =
2574
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::SetelemListAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table set elements])

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

#elements ⇒ AttributeSets::SetelemListElemAttrs



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#set ⇒ String

Returns:

  • (String)

See Also:



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

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

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end