Class: Nl::Linux::Tc::AttributeSets::CakeStatsAttrs

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

Defined Under Namespace

Classes: ActiveQueues, Attribute, AvgNetoff, BlueTimerUs, CapacityEstimate64, CobaltCount, Deficit, DropNextUs, Dropping, MaxAdjlen, MaxNetlen, MemoryLimit, MemoryUsed, MinAdjlen, MinNetlen, PDrop, Pad, TinStats

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#active_queues ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#avg_netoff ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#blue_timer_us ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#capacity_estimate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#cobalt_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#deficit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#drop_next_us ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#dropping ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#max_adjlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#max_netlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#memory_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#memory_used ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#min_adjlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#min_netlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#p_drop ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tin_stats ⇒ Array<AttributeSets::CakeTinStatsAttrs>

Returns:

See Also:



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

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