Class: Nl::Linux::Tc::SubMessages::OptionsMsg::Choke

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ChokeAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#max_p ⇒ Integer

Returns:

  • (Integer)

See Also:



11542
# File 'nl-linux/generated/nl/linux/tc.rb', line 11542

def max_p; attributes[:"max_p"]&.value; end

#parms ⇒ Structs::TcRedQopt



11534
# File 'nl-linux/generated/nl/linux/tc.rb', line 11534

def parms; attributes[:"parms"]&.value; end

#stab ⇒ String

Returns:

  • (String)

See Also:



11538
# File 'nl-linux/generated/nl/linux/tc.rb', line 11538

def stab; attributes[:"stab"]&.value; end