Skip to main content

zts_peer_info_t

More...

#include <ZeroTierSockets.h>

Public Attributes#

Name
uint64_tpeer_id
intver_major
intver_minor
intver_rev
intlatency
zts_peer_role_trole
unsigned intpath_count
intunused_0
zts_path_tpaths

Detailed Description#

struct zts_peer_info_t;

Peer status result buffer

Public Attributes Documentation#

variable peer_id#

uint64_t peer_id;

ZeroTier address (40 bits)

variable ver_major#

int ver_major;

Remote major version or -1 if not known

variable ver_minor#

int ver_minor;

Remote minor version or -1 if not known

variable ver_rev#

int ver_rev;

Remote revision or -1 if not known

variable latency#

int latency;

Last measured latency in milliseconds or -1 if unknown

variable role#

zts_peer_role_t role;

What trust hierarchy role does this device have?

variable path_count#

unsigned int path_count;

Number of paths (size of paths[])

variable unused_0#

int unused_0;

Whether this peer was ever reachable via an aggregate link

variable paths#

zts_path_t paths;

Known network paths to peer


Updated on 25 October 2021 at 23:59:59 UTC