Skip to content

Struct SYN_WgStats

ClassList > SYN_WgStats

WireGuard tunnel statistics structure.

  • #include <syn_wg.h>

Public Attributes

Type Name
uint32_t handshake_age_sec
bool is_established
uint64_t rx_bytes
uint64_t tx_bytes

Public Attributes Documentation

variable handshake_age_sec

uint32_t SYN_WgStats::handshake_age_sec;

Seconds since last successful handshake


variable is_established

bool SYN_WgStats::is_established;

Tunnel connection status


variable rx_bytes

uint64_t SYN_WgStats::rx_bytes;

Total encrypted bytes received


variable tx_bytes

uint64_t SYN_WgStats::tx_bytes;

Total encrypted bytes transmitted



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