Class: Nl::Linux::Psp::Messages::DoDevSetRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Psp::Messages::DoDevSetRequest
- Defined in:
- nl-linux/generated/nl/linux/psp.rb
Overview
Set the configuration of a PSP device.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
4- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Dev
- ATTRIBUTES =
Ractor.make_shareable(%i[id psp_versions_ena])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#id ⇒ Integer
PSP device ID.
-
#psp_versions_ena ⇒ Integer
Bitmask of currently enabled (accepted on Rx) PSP versions.
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
#id ⇒ Integer
PSP device ID.
726 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 726 def id; attributes[:"id"]&.value; end |
#psp_versions_ena ⇒ Integer
Bitmask of currently enabled (accepted on Rx) PSP versions.
Known flags are defined in Flags::Version.
733 |
# File 'nl-linux/generated/nl/linux/psp.rb', line 733 def psp_versions_ena; attributes[:"psp_versions_ena"]&.value; end |