Class: Nl::Linux::Tc::AttributeSets::TcaGredVqEntryAttrs

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

Defined Under Namespace

Classes: Attribute, Dp, Flags, Pad, StatBacklog, StatBytes, StatForcedDrop, StatForcedMark, StatOther, StatPackets, StatPdrop, StatProbDrop, StatProbMark

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#dp ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_backlog ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_bytes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_forced_drop ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_forced_mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_other ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_packets ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_pdrop ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_prob_drop ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stat_prob_mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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