Class: Nl::Linux::Tc::AttributeSets::HhfAttrs

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

Defined Under Namespace

Classes: AdmitBytes, Attribute, BacklogLimit, EvictTimeout, HhFlowsLimit, NonHhWeight, Quantum, ResetTimeout

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#admit_bytes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#backlog_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#evict_timeout ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#hh_flows_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#non_hh_weight ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#quantum ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#reset_timeout ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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