Class: Nl::Linux::Conntrack::AttributeSets::ConntrackAttrs

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

Defined Under Namespace

Classes: Attribute, CountersOrig, CountersReply, Filter, Help, Id, Labels, LabelsMask, Mark, MarkMask, NatDst, NatSrc, Protoinfo, Secctx, Secmark, SeqAdjOrig, SeqAdjReply, Status, StatusMask, Synproxy, Timeout, Timestamp, TimestampEvent, TupleMaster, TupleOrig, TupleReply, Use, Zone

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



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

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#counters_orig ⇒ AttributeSets::CounterAttrs



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

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

#counters_reply ⇒ AttributeSets::CounterAttrs



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

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

#filter ⇒ AttributeSets::TupleAttrs

Returns:

See Also:



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

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

#help ⇒ AttributeSets::HelpAttrs

Returns:

See Also:



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

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#labels ⇒ String

Returns:

  • (String)

See Also:



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

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

#labels_mask ⇒ String

Returns:

  • (String)

See Also:



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

def labels_mask; self[:"labels_mask"]&.value; end

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def mark_mask; self[:"mark_mask"]&.value; end

#nat_dst ⇒ AttributeSets::NatAttrs

Returns:

See Also:



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

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

#nat_src ⇒ AttributeSets::NatAttrs

Returns:

See Also:



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

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

#protoinfo ⇒ AttributeSets::ProtoinfoAttrs



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

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

#secctx ⇒ AttributeSets::SecctxAttrs

Returns:

See Also:



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

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

#secmark ⇒ String

obsolete

Returns:

  • (String)

See Also:



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

def secmark; self[:"secmark"]&.value; end

#seq_adj_orig ⇒ AttributeSets::SeqadjAttrs

Returns:

See Also:



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

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

#seq_adj_reply ⇒ AttributeSets::SeqadjAttrs



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

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

#status ⇒ Integer

conntrack flag bits

Known flags are defined in Flags::NfCtStatus.

Returns:

  • (Integer)

See Also:



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

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

#status_mask ⇒ Integer

conntrack flag bits to change

Known flags are defined in Flags::NfCtStatus.

Returns:

  • (Integer)

See Also:



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

def status_mask; self[:"status_mask"]&.value; end

#synproxy ⇒ AttributeSets::SynproxyAttrs

Returns:

See Also:



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

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

#timeout ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#timestamp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def timestamp; self[:"timestamp"]&.value; end

#timestamp_event ⇒ Integer

Returns:

  • (Integer)

See Also:



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

def timestamp_event; self[:"timestamp_event"]&.value; end

#tuple_master ⇒ AttributeSets::TupleAttrs

Returns:

See Also:



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

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

#tuple_orig ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, original direction

Returns:

See Also:



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

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

#tuple_reply ⇒ AttributeSets::TupleAttrs

conntrack l3+l4 protocol information, reply direction

Returns:

See Also:



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

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

#use ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#zone ⇒ Integer

conntrack zone id

Returns:

  • (Integer)

See Also:



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

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