Class: Nl::Linux::Tc::AttributeSets::FqPieAttrs

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

Defined Under Namespace

Classes: Alpha, Attribute, Beta, Bytemode, DqRateEstimator, Ecn, EcnProb, Flows, Limit, MemoryLimit, Quantum, Target, Tupdate

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#alpha ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#beta ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#bytemode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dq_rate_estimator ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ecn ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ecn_prob ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flows ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#memory_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#quantum ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#target ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tupdate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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