Class: Nl::Linux::Conntrack::AttributeSets::ProtoinfoTcpAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Conntrack::AttributeSets::ProtoinfoTcpAttrs
- Defined in:
- nl-linux/generated/nl/linux/conntrack.rb
Defined Under Namespace
Classes: Attribute, TcpFlagsOriginal, TcpFlagsReply, TcpState, TcpWscaleOriginal, TcpWscaleReply
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
- #tcp_flags_original ⇒ Structs::NfCtTcpFlagsMask
- #tcp_flags_reply ⇒ Structs::NfCtTcpFlagsMask
-
#tcp_state ⇒ Integer
tcp connection state.
-
#tcp_wscale_original ⇒ Integer
window scaling factor in original direction.
-
#tcp_wscale_reply ⇒ Integer
window scaling factor in reply direction.
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.
595 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 595 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
601 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 601 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#tcp_flags_original ⇒ Structs::NfCtTcpFlagsMask
584 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 584 def tcp_flags_original; self[:"tcp_flags_original"]&.value; end |
#tcp_flags_reply ⇒ Structs::NfCtTcpFlagsMask
588 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 588 def tcp_flags_reply; self[:"tcp_flags_reply"]&.value; end |
#tcp_state ⇒ Integer
tcp connection state
Known enum values are defined in Enums::NfCtTcpState.
570 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 570 def tcp_state; self[:"tcp_state"]&.value; end |
#tcp_wscale_original ⇒ Integer
window scaling factor in original direction
575 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 575 def tcp_wscale_original; self[:"tcp_wscale_original"]&.value; end |
#tcp_wscale_reply ⇒ Integer
window scaling factor in reply direction
580 |
# File 'nl-linux/generated/nl/linux/conntrack.rb', line 580 def tcp_wscale_reply; self[:"tcp_wscale_reply"]&.value; end |