Class: Nl::Linux::Tc::AttributeSets::ActSampleAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Tc::AttributeSets::ActSampleAttrs
- Defined in:
- nl-linux/generated/nl/linux/tc.rb
Defined Under Namespace
Classes: Attribute, Pad, Parms, PsampleGroup, Rate, Tm, TruncSize
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #parms ⇒ Structs::TcGact
- #psample_group ⇒ Integer
- #rate ⇒ Integer
- #tm ⇒ Structs::TcfT
- #trunc_size ⇒ Integer
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.
10878 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10878 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
10884 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10884 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#parms ⇒ Structs::TcGact
10859 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10859 def parms; self[:"parms"]&.value; end |
#psample_group ⇒ Integer
10871 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10871 def psample_group; self[:"psample_group"]&.value; end |
#rate ⇒ Integer
10863 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10863 def rate; self[:"rate"]&.value; end |
#tm ⇒ Structs::TcfT
10855 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10855 def tm; self[:"tm"]&.value; end |
#trunc_size ⇒ Integer
10867 |
# File 'nl-linux/generated/nl/linux/tc.rb', line 10867 def trunc_size; self[:"trunc_size"]&.value; end |