Class: Nl::Linux::Nftables::Messages::DumpGetobjRequest

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

Overview

Get / dump stateful objects.

Constant Summary collapse

TYPE =
2579
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::ObjAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table type])

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)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

name of the table containing the expression

Returns:

  • (String)

See Also:



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

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

#type ⇒ Integer

stateful object type

Known enum values are defined in Enums::ObjectType.

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end