Class: Nl::Linux::Conntrack::Messages::DoGetReply

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



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

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

#counters_reply ⇒ AttributeSets::CounterAttrs



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

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

#help ⇒ AttributeSets::HelpAttrs



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

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#labels ⇒ String

Returns:

  • (String)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_dst ⇒ AttributeSets::NatAttrs



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

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

#nat_src ⇒ AttributeSets::NatAttrs



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

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

#nfgen_family ⇒ Integer

Returns:

  • (Integer)


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

def nfgen_family; fixed_header.nfgen_family; end

#protoinfo ⇒ AttributeSets::ProtoinfoAttrs



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

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

#res_id ⇒ Integer

Returns:

  • (Integer)


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

def res_id; fixed_header.res_id; end

#secctx ⇒ AttributeSets::SecctxAttrs



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

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

#seq_adj_orig ⇒ AttributeSets::SeqadjAttrs



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

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

#seq_adj_reply ⇒ AttributeSets::SeqadjAttrs



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

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:



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

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

#synproxy ⇒ AttributeSets::SynproxyAttrs



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

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

#timeout ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tuple_master ⇒ AttributeSets::TupleAttrs



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

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

#tuple_orig ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, original direction



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

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

#tuple_reply ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, reply direction



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

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

#use ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#version ⇒ Integer

Returns:

  • (Integer)


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

def version; fixed_header.version; end

#zone ⇒ Integer

conntrack zone id

Returns:

  • (Integer)

See Also:



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

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