Class: Nl::Linux::Psp::Messages::DoRxAssocRequest

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

Overview

Allocate a new Rx key + SPI pair, associate it with a socket.

Constant Summary collapse

TYPE =
8
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Assoc
ATTRIBUTES =
Ractor.make_shareable(%i[dev_id version 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:



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

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

#sock_fd ⇒ Integer

Sockets which should be bound to the association immediately.

Returns:

  • (Integer)

See Also:



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

def sock_fd; attributes[:"sock_fd"]&.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:



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

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