Class: Nl::Linux::Tc::AttributeSets::ActBpfAttrs
Defined Under Namespace
Classes: Attribute, Fd, Id, Name, Ops, OpsLen, Pad, Parms, Tag, Tm
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.
3006
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3006
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
3012
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 3012
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
#fd ⇒ Integer
2987
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2987
def fd; self[:"fd"]&.value; end
|
#id ⇒ String
2999
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2999
def id; self[:"id"]&.value; end
|
#name ⇒ String
2991
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2991
def name; self[:"name"]&.value; end
|
#ops ⇒ String
2983
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2983
def ops; self[:"ops"]&.value; end
|
#ops_len ⇒ Integer
2979
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2979
def ops_len; self[:"ops_len"]&.value; end
|
#parms ⇒ String
2975
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2975
def parms; self[:"parms"]&.value; end
|
#tag ⇒ String
2995
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2995
def tag; self[:"tag"]&.value; end
|
2971
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 2971
def tm; self[:"tm"]&.value; end
|