Class: Nl::Linux::Tc::AttributeSets::FqCodelAttrs

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

Defined Under Namespace

Classes: Attribute, CeThreshold, CeThresholdMask, CeThresholdSelector, DropBatchSize, Ecn, Flows, Interval, Limit, MemoryLimit, Quantum, Target

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#ce_threshold ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ce_threshold_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ce_threshold_selector ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#drop_batch_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ecn ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flows ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#interval ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#memory_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#quantum ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#target ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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