Class: Nl::Linux::Psp::Messages::DoTxAssocRequest

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

Overview

Add a PSP Tx association.

Constant Summary collapse

TYPE =
9
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Assoc
ATTRIBUTES =
Ractor.make_shareable(%i[dev_id version tx_key sock_fd])

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

#dev_id ⇒ Integer

PSP device ID.

Returns:

  • (Integer)

See Also:



824
# File 'nl-linux/generated/nl/linux/psp.rb', line 824

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

#sock_fd ⇒ Integer

Sockets which should be bound to the association immediately.

Returns:

  • (Integer)

See Also:



842
# File 'nl-linux/generated/nl/linux/psp.rb', line 842

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

#tx_key ⇒ AttributeSets::Keys



837
# File 'nl-linux/generated/nl/linux/psp.rb', line 837

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

#version ⇒ Integer

PSP versions (AEAD and protocol version) used by this association, dictates the size of the key.

Known enum values are defined in Enums::Version.

Returns:

  • (Integer)

See Also:



833
# File 'nl-linux/generated/nl/linux/psp.rb', line 833

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