Class: Nl::Linux::Netdev::Messages::DumpQueueGetRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/netdev.rb

Overview

Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).

Constant Summary collapse

TYPE =
10
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Queue
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

ifindex of the netdevice to which the queue belongs.

Returns:

  • (Integer)

See Also:



2148
# File 'nl-linux/generated/nl/linux/netdev.rb', line 2148

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