Class: Nl::Linux::NetShaper::Messages::DoCapGetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::NetShaper::Messages::DoCapGetRequest
- Defined in:
- nl-linux/generated/nl/linux/net_shaper.rb
Overview
Get the shaper capabilities supported by the given device for the specified scope.
Constant Summary collapse
- TYPE =
5- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Caps
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex scope])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
Interface index queried for shapers capabilities.
-
#scope ⇒ Integer
The scope to which the queried capabilities apply.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#ifindex ⇒ Integer
Interface index queried for shapers capabilities.
948 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 948 def ifindex; attributes[:"ifindex"]&.value; end |
#scope ⇒ Integer
The scope to which the queried capabilities apply.
Known enum values are defined in Enums::Scope.
955 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 955 def scope; attributes[:"scope"]&.value; end |