Class: Nl::Linux::Handshake::Messages::DoAcceptReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Handshake::Messages::DoAcceptReply
- Defined in:
- nl-linux/generated/nl/linux/handshake.rb
Overview
Handler retrieves next queued handshake request
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
2- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Accept
- ATTRIBUTES =
Ractor.make_shareable(%i[sockfd message_type timeout auth_mode peer_identity certificate peername keyring])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#auth_mode ⇒ Integer
Known enum values are defined in Enums::Auth.
- #certificate ⇒ Array<AttributeSets::X509>
- #keyring ⇒ Integer
-
#message_type ⇒ Integer
Known enum values are defined in Enums::MsgType.
- #peer_identity ⇒ Array<Integer>
- #peername ⇒ String
- #sockfd ⇒ Integer
- #timeout ⇒ Integer
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
#auth_mode ⇒ Integer
Known enum values are defined in Enums::Auth.
352 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 352 def auth_mode; attributes[:"auth_mode"]&.value; end |
#certificate ⇒ Array<AttributeSets::X509>
360 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 360 def certificate; attributes[:"certificate"].map(&:value); end |
#keyring ⇒ Integer
368 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 368 def keyring; attributes[:"keyring"]&.value; end |
#message_type ⇒ Integer
Known enum values are defined in Enums::MsgType.
343 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 343 def ; attributes[:"message_type"]&.value; end |
#peer_identity ⇒ Array<Integer>
356 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 356 def peer_identity; attributes[:"peer_identity"].map(&:value); end |
#peername ⇒ String
364 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 364 def peername; attributes[:"peername"]&.value; end |
#sockfd ⇒ Integer
338 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 338 def sockfd; attributes[:"sockfd"]&.value; end |
#timeout ⇒ Integer
347 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 347 def timeout; attributes[:"timeout"]&.value; end |