Class: Nl::Linux::Tc::AttributeSets::FlowAttrs
Defined Under Namespace
Classes: Act, Addend, Attribute, Baseclass, Divisor, Ematches, Keys, Mask, Mode, Perturb, Police, Rshift, Xor
Constant Summary
Constants inherited
from AttributeSet
AttributeSet::SELECTOR_NAMES
Class Method Summary
collapse
Instance Method Summary
collapse
#<<, #[], build_attributes, decode, #encode, #initialize
Class Method Details
Looks up Attribute class by name.
6398
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6398
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
6404
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6404
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#act ⇒ String
6379
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6379
def act; self[:"act"]&.value; end
|
#addend ⇒ Integer
6363
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6363
def addend; self[:"addend"]&.value; end
|
#baseclass ⇒ Integer
6355
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6355
def baseclass; self[:"baseclass"]&.value; end
|
#divisor ⇒ Integer
6375
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6375
def divisor; self[:"divisor"]&.value; end
|
#ematches ⇒ String
6387
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6387
def ematches; self[:"ematches"]&.value; end
|
#keys ⇒ Integer
6347
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6347
def keys; self[:"keys"]&.value; end
|
#mask ⇒ Integer
6367
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6367
def mask; self[:"mask"]&.value; end
|
#mode ⇒ Integer
6351
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6351
def mode; self[:"mode"]&.value; end
|
#perturb ⇒ Integer
6391
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6391
def perturb; self[:"perturb"]&.value; end
|
6383
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6383
def police; self[:"police"]&.value; end
|
#rshift ⇒ Integer
6359
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6359
def rshift; self[:"rshift"]&.value; end
|
#xor ⇒ Integer
6371
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 6371
def xor; self[:"xor"]&.value; end
|