Class: Nl::Linux::Conntrack::Messages::DoGetRequest

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[tuple_orig tuple_reply zone])

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)


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

def nfgen_family; fixed_header.nfgen_family; end

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#tuple_orig ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, original direction



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

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

#tuple_reply ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, reply direction



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end

#zone ⇒ Integer

conntrack zone id

Returns:

  • (Integer)

See Also:



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

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