Struct 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¶
Tick when session was established
variable receiver_index¶
Peer's sender index
variable recv_bitmap¶
Anti-replay sliding window (32 bits)
variable recv_counter¶
Highest received nonce
variable recv_key¶
ChaCha20-Poly1305 key for incoming
variable send_counter¶
Outgoing nonce counter
variable send_key¶
ChaCha20-Poly1305 key for outgoing
variable 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