Struct SYN_WgConfig¶
WireGuard peer configuration — set once at init.
#include <syn_wg.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_SockAddr | endpoint |
| uint16_t | keepalive_interval_s |
| uint8_t | peer_public_key |
| uint8_t | preshared_key |
| uint8_t | private_key |
Public Attributes Documentation¶
variable endpoint¶
Server IP:port
variable keepalive_interval_s¶
Persistent keepalive (0=off)
variable peer_public_key¶
Server's public key
variable preshared_key¶
Optional PSK (zero if unused)
variable private_key¶
Our Curve25519 private key
The documentation for this class was generated from the following file src/syntropic/net/syn_wg.h