Class: Nl::Linux::Conntrack::AttributeSets::ProtoinfoSctpAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Conntrack::AttributeSets::ProtoinfoSctpAttrs
- Defined in:
- nl-linux/generated/nl/linux/conntrack.rb
Defined Under Namespace
Classes: Attribute, SctpState, VtagOriginal, VtagReply
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#sctp_state ⇒ Integer
sctp connection state.
- #vtag_original ⇒ Integer
- #vtag_reply ⇒ Integer
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.
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.
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.
714 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 714 def sctp_state; self[:"sctp_state"]&.value; end |
#vtag_original ⇒ Integer
718 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 718 def vtag_original; self[:"vtag_original"]&.value; end |
#vtag_reply ⇒ Integer
722 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 722 def vtag_reply; self[:"vtag_reply"]&.value; end |