Class: Nl::Linux::Conntrack::Messages::DumpGetRequest

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

Overview

get / dump entries

Constant Summary collapse

TYPE =
257
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::ConntrackAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[status mark zone filter])

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

#filter ⇒ AttributeSets::TupleAttrs



1878
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1878

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



1869
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1869

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


1852
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1852

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


1858
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1858

def res_id; fixed_header.res_id; end

#status ⇒ Integer

conntrack flag bits

Known flags are defined in Flags::NfCtStatus.

Returns:

  • (Integer)

See Also:



1865
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1865

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

#version ⇒ Integer

Returns:

  • (Integer)


1855
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1855

def version; fixed_header.version; end

#zone ⇒ Integer

conntrack zone id

Returns:

  • (Integer)

See Also:



1874
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 1874

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