Class: Nl::Linux::Conntrack::AttributeSets::ProtoinfoAttrs

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

Defined Under Namespace

Classes: Attribute, ProtoinfoDccp, ProtoinfoSctp, ProtoinfoTcp

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#protoinfo_dccp ⇒ AttributeSets::ProtoinfoDccpAttrs

conntrack dccp state information



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

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

#protoinfo_sctp ⇒ AttributeSets::ProtoinfoSctpAttrs

conntrack sctp state information



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

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

#protoinfo_tcp ⇒ AttributeSets::ProtoinfoTcpAttrs

conntrack tcp state information



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

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