Class: Nl::Linux::Handshake::Messages::DoDoneRequest

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

Overview

Handler reports handshake completion

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Done
ATTRIBUTES =
Ractor.make_shareable(%i[status sockfd remote_auth])

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

#remote_auth ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



389
# File 'nl-linux/generated/nl/linux/handshake.rb', line 389

def remote_auth; attributes[:"remote_auth"].map(&:value); end

#sockfd ⇒ Integer

Returns:

  • (Integer)

See Also:



385
# File 'nl-linux/generated/nl/linux/handshake.rb', line 385

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

#status ⇒ Integer

Returns:

  • (Integer)

See Also:



381
# File 'nl-linux/generated/nl/linux/handshake.rb', line 381

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