Class: Nl::Linux::Conntrack::Messages::DumpGetReply

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

Overview

get / dump entries

Constant Summary collapse

TYPE =
256
FIXED_HEADER =
Structs::Nfgenmsg
ATTRIBUTE_SET =
AttributeSets::ConntrackAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[tuple_orig tuple_reply status protoinfo help nat_src timeout mark counters_orig counters_reply use id nat_dst tuple_master seq_adj_orig seq_adj_reply zone secctx labels synproxy])

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

#counters_orig ⇒ AttributeSets::CounterAttrs



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

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

#counters_reply ⇒ AttributeSets::CounterAttrs



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

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

#help ⇒ AttributeSets::HelpAttrs



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

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#labels ⇒ String

Returns:

  • (String)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_dst ⇒ AttributeSets::NatAttrs



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

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

#nat_src ⇒ AttributeSets::NatAttrs



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#protoinfo ⇒ AttributeSets::ProtoinfoAttrs



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

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

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#secctx ⇒ AttributeSets::SecctxAttrs



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

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

#seq_adj_orig ⇒ AttributeSets::SeqadjAttrs



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

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

#seq_adj_reply ⇒ AttributeSets::SeqadjAttrs



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

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

#status ⇒ Integer

conntrack flag bits

Known flags are defined in Flags::NfCtStatus.

Returns:

  • (Integer)

See Also:



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

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

#synproxy ⇒ AttributeSets::SynproxyAttrs



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

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

#timeout ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tuple_master ⇒ AttributeSets::TupleAttrs



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

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

#tuple_orig ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, original direction



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

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

#tuple_reply ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, reply direction



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

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

#use ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end

#zone ⇒ Integer

conntrack zone id

Returns:

  • (Integer)

See Also:



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

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