Class: Nl::Linux::Tc::AttributeSets::PieAttrs

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

Defined Under Namespace

Classes: Alpha, Attribute, Beta, Bytemode, DqRateEstimator, Ecn, Limit, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#alpha ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#beta ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#bytemode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dq_rate_estimator ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ecn ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#target ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tupdate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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