Skip to content

Struct SYN_WgSession

ClassList > SYN_WgSession

Active session derived from a completed handshake.

  • #include <syn_wg.h>

Public Attributes

Type Name
uint32_t established_ms
uint32_t receiver_index
uint32_t recv_bitmap
uint64_t recv_counter
uint8_t recv_key
uint64_t send_counter
uint8_t send_key
uint32_t sender_index

Public Attributes Documentation

variable established_ms

uint32_t SYN_WgSession::established_ms;

Tick when session was established


variable receiver_index

uint32_t SYN_WgSession::receiver_index;

Peer's sender index


variable recv_bitmap

uint32_t SYN_WgSession::recv_bitmap;

Anti-replay sliding window (32 bits)


variable recv_counter

uint64_t SYN_WgSession::recv_counter;

Highest received nonce


variable recv_key

uint8_t SYN_WgSession::recv_key[32];

ChaCha20-Poly1305 key for incoming


variable send_counter

uint64_t SYN_WgSession::send_counter;

Outgoing nonce counter


variable send_key

uint8_t SYN_WgSession::send_key[32];

ChaCha20-Poly1305 key for outgoing


variable sender_index

uint32_t SYN_WgSession::sender_index;

Our sender index (in transport headers)



The documentation for this class was generated from the following file src/syntropic/net/syn_wg.h