Add low-bandwidth mode

This commit is contained in:
Joseph Henry 2022-12-05 13:21:05 -08:00
parent 98b190c626
commit 3c9ea2b667
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344
6 changed files with 42 additions and 10 deletions

View file

@ -302,6 +302,8 @@ public:
*/
inline int64_t isActive(int64_t now) const { return ((now - _lastNontrivialReceive) < ZT_PEER_ACTIVITY_TIMEOUT); }
inline int64_t lastSentFullHello() { return _lastSentFullHello; }
/**
* @return Latency in milliseconds of best/aggregate path or 0xffff if unknown / no paths
*/