Class: Nl::Linux::Conntrack::AttributeSets::ProtoinfoSctpAttrs

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

Defined Under Namespace

Classes: Attribute, SctpState, VtagOriginal, VtagReply

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#sctp_state ⇒ Integer

sctp connection state

Known enum values are defined in Enums::NfCtSctpState.

Returns:

  • (Integer)

See Also:



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

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

#vtag_original ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vtag_reply ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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