Class: Nl::Linux::Conntrack::AttributeSets::ProtoinfoDccpAttrs

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

Defined Under Namespace

Classes: Attribute, DccpHandshakeSeq, DccpPad, DccpRole, DccpState

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#dccp_handshake_seq ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dccp_role ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dccp_state ⇒ Integer

dccp connection state

Returns:

  • (Integer)

See Also:



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

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