Class: Nl::Linux::Nftables::Messages::DumpGetobjReply

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

Overview

Get / dump stateful objects.

Constant Summary collapse

TYPE =
2578
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::ObjAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[table name type data use handle userdata])

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

#data ⇒ SubMessages::ObjData::Counter, ...

stateful object data



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

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

#handle ⇒ Integer

object handle

Returns:

  • (Integer)

See Also:



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

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

#name ⇒ String

name of this expression type

Returns:

  • (String)

See Also:



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#table ⇒ String

name of the table containing the expression

Returns:

  • (String)

See Also:



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

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

#type ⇒ Integer

stateful object type

Known enum values are defined in Enums::ObjectType.

Returns:

  • (Integer)

See Also:



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

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

#use ⇒ Integer

number of references to this expression

Returns:

  • (Integer)

See Also:



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

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

#userdata ⇒ String

user data

Returns:

  • (String)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end