Class: Nl::Linux::Nftables::Messages::DoGetsetelemResetRequest

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

Overview

Get / dump set elements and reset stateful expressions.

Constant Summary collapse

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



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end