Class: Nl::Linux::NetShaper::Messages::DumpGetRequest

Inherits:
Genl::Message show all
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[ifindex])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#ifindex ⇒ Integer

Interface index owning the specified shaper.

Returns:

  • (Integer)

See Also:



662
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 662

def ifindex; attributes[:"ifindex"]&.value; end