Sunshine master
Self-hosted game stream host for Moonlight.
stream::control_encrypted_t Struct Reference

Packed encrypted control-channel envelope. More...

Public Member Functions

uint8_t * payload ()
 Return a pointer to the protocol payload following the packet header.
 

Public Attributes

std::uint16_t encryptedHeaderType
 Always LE 0x0001.
 
std::uint16_t length
 Size of seq, tag, secondary header, and data.
 
std::uint32_t seq
 Monotonically increasing sequence number used as the AES-GCM IV.
 

Detailed Description

Packed encrypted control-channel envelope.

Member Function Documentation

◆ payload()

uint8_t * stream::control_encrypted_t::payload ( )
inline

Return a pointer to the protocol payload following the packet header.

Returns
Parsed or serialized payload data.

The documentation for this struct was generated from the following file: