Class: Nl::Linux::Nftables::Messages::DumpGetsetelemRequest

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

Overview

Get / dump set elements.

Constant Summary collapse

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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#set ⇒ String

Returns:

  • (String)

See Also:



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

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

#table ⇒ String

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end