Class: Nl::Linux::Tc::AttributeSets::BpfAttrs
Defined Under Namespace
Classes: Act, Attribute, Classid, Fd, Flags, FlagsGen, Id, Name, Ops, OpsLen, Police, Tag
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.
4895
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4895
def by_name(name); BY_NAME.fetch(name); end
|
Looks up Attribute class by type value.
4901
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4901
def by_type(type); BY_TYPE.fetch(type); end
|
Instance Method Details
4848
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4848
def act; self[:"act"]&.value; end
|
#classid ⇒ Integer
4856
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4856
def classid; self[:"classid"]&.value; end
|
#fd ⇒ Integer
4868
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4868
def fd; self[:"fd"]&.value; end
|
#flags ⇒ Integer
4876
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4876
def flags; self[:"flags"]&.value; end
|
#flags_gen ⇒ Integer
4880
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4880
def flags_gen; self[:"flags_gen"]&.value; end
|
#id ⇒ Integer
4888
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4888
def id; self[:"id"]&.value; end
|
#name ⇒ String
4872
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4872
def name; self[:"name"]&.value; end
|
#ops ⇒ String
4864
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4864
def ops; self[:"ops"]&.value; end
|
#ops_len ⇒ Integer
4860
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4860
def ops_len; self[:"ops_len"]&.value; end
|
4852
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4852
def police; self[:"police"]&.value; end
|
#tag ⇒ String
4884
|
# File 'nl-linux/generated/nl/linux/tc.rb', line 4884
def tag; self[:"tag"]&.value; end
|