Class: Nl::Linux::Tc::AttributeSets::CakeAttrs

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

Defined Under Namespace

Classes: AckFilter, Atm, Attribute, Autorate, BaseRate64, DiffservMode, FlowMode, Fwmark, Ingress, Memory, Mpu, Nat, Overhead, Pad, Raw, Rtt, SplitGso, Target, Wash

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#ack_filter ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#atm ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#autorate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#base_rate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#diffserv_mode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#flow_mode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#fwmark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ingress ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#memory ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mpu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#overhead ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#raw ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rtt ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#split_gso ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#target ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#wash ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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