Class: Nl::Linux::NetShaper::Messages::DoGetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::NetShaper::Messages::DoGetRequest
- Defined in:
- nl-linux/generated/nl/linux/net_shaper.rb
Overview
Get information about a shaper for a given device.
Constant Summary collapse
- TYPE =
1- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::NetShaper
- ATTRIBUTES =
Ractor.make_shareable(%i[handle ifindex])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#handle ⇒ AttributeSets::Handle
Unique identifier for the given shaper inside the owning device.
-
#ifindex ⇒ Integer
Interface index owning the specified shaper.
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
#handle ⇒ AttributeSets::Handle
Unique identifier for the given shaper inside the owning device.
585 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 585 def handle; attributes[:"handle"]&.value; end |
#ifindex ⇒ Integer
Interface index owning the specified shaper.
590 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 590 def ifindex; attributes[:"ifindex"]&.value; end |