mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 06:38:25 +00:00
Proactively seek, enumerate, and distribute external surface addresses
This commit is contained in:
@ -44,6 +44,13 @@ public:
|
||||
*/
|
||||
void iam(void *tPtr,const Address &reporter,const int64_t receivedOnLocalSocket,const InetAddress &reporterPhysicalAddress,const InetAddress &myPhysicalAddress,bool trusted,int64_t now);
|
||||
|
||||
/**
|
||||
* Return all known external surface addresses reported by peers
|
||||
*
|
||||
* @return A vector of InetAddress(es)
|
||||
*/
|
||||
std::vector<InetAddress> whoami();
|
||||
|
||||
/**
|
||||
* Clean up database periodically
|
||||
*
|
||||
|
Reference in New Issue
Block a user