mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-12 05:23:10 +00:00
.
This commit is contained in:
parent
954f9cbc13
commit
c49e253e21
@ -86,6 +86,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
inline uint64_t timestamp() const throw() { return _timestamp; }
|
inline uint64_t timestamp() const throw() { return _timestamp; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param now Current time
|
||||||
|
* @return True if this multicast is expired (has exceeded transmit timeout)
|
||||||
|
*/
|
||||||
|
inline bool expired(uint64_t now) const throw() { return ((now - _timestamp) >= ZT_MULTICAST_TRANSMIT_TIMEOUT); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Number of unique recipients to which this packet has already been sent
|
* @return Number of unique recipients to which this packet has already been sent
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user