Skip to content

Struct SYN_WgConfig

ClassList > 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

SYN_SockAddr SYN_WgConfig::endpoint;

Server IP:port


variable keepalive_interval_s

uint16_t SYN_WgConfig::keepalive_interval_s;

Persistent keepalive (0=off)


variable peer_public_key

uint8_t SYN_WgConfig::peer_public_key[32];

Server's public key


variable preshared_key

uint8_t SYN_WgConfig::preshared_key[32];

Optional PSK (zero if unused)


variable private_key

uint8_t SYN_WgConfig::private_key[32];

Our Curve25519 private key



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