Skip to main content

ZT_PeerPhysicalPath

More...

#include <ZeroTierOne.h>

Public Attributes#

Name
struct sockaddr_storageaddress
uint64_tlastSend
uint64_tlastReceive
uint64_ttrustedPathId
floatlatencyMean
floatlatencyMax
floatlatencyVariance
floatpacketLossRatio
floatpacketErrorRatio
uint64_tthroughputMean
floatthroughputMax
floatthroughputVariance
uint8_tscope
floatallocation
charifname
uint64_tlocalSocket
intexpired
intpreferred

Detailed Description#

struct ZT_PeerPhysicalPath;

Physical network path to a peer

Public Attributes Documentation#

variable address#

struct sockaddr_storage address;

Address of endpoint

variable lastSend#

uint64_t lastSend;

Time of last send in milliseconds or 0 for never

variable lastReceive#

uint64_t lastReceive;

Time of last receive in milliseconds or 0 for never

variable trustedPathId#

uint64_t trustedPathId;

Is this a trusted path? If so this will be its nonzero ID.

variable latencyMean#

float latencyMean;

Mean latency

variable latencyMax#

float latencyMax;

Maximum observed latency

variable latencyVariance#

float latencyVariance;

Variance of latency

variable packetLossRatio#

float packetLossRatio;

Packet loss ratio

variable packetErrorRatio#

float packetErrorRatio;

Packet error ratio

variable throughputMean#

uint64_t throughputMean;

Mean throughput

variable throughputMax#

float throughputMax;

Maximum observed throughput

variable throughputVariance#

float throughputVariance;

Throughput variance

variable scope#

uint8_t scope;

Address scope

variable allocation#

float allocation;

Percentage of traffic allocated to this path

variable ifname#

char ifname;

Name of physical interface (for monitoring)

variable localSocket#

uint64_t localSocket;

variable expired#

int expired;

Is path expired?

variable preferred#

int preferred;

Is path preferred?


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