Class: Nl::Linux::Dpll::Messages::DoDeviceIdGetReply

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

Overview

Get id of dpll device that matches given attributes

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
1
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Dpll
ATTRIBUTES =
Ractor.make_shareable(%i[id])

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



1282
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1282

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