diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-05-30 10:19:45 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-05-30 10:19:45 -0700 |
| commit | 2ec88e800877cfbc7f007d21f10429bc1b493006 (patch) | |
| tree | e939d5336dff47819aed39500d44cfdc694395c9 /node/Node.hpp | |
| parent | 36049a940c2d75f61ca92e8e70ed7014283e58a5 (diff) | |
| download | infinitytier-2ec88e800877cfbc7f007d21f10429bc1b493006.tar.gz infinitytier-2ec88e800877cfbc7f007d21f10429bc1b493006.zip | |
Remove old circuit test code. Rules engine will let us do this much better and more simply.
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index 95587161..57b5489e 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -117,8 +117,6 @@ public: void clearLocalInterfaceAddresses(); int sendUserMessage(void *tptr,uint64_t dest,uint64_t typeId,const void *data,unsigned int len); void setNetconfMaster(void *networkControllerInstance); - ZT_ResultCode circuitTestBegin(void *tptr,ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *,ZT_CircuitTest *,const ZT_CircuitTestReport *)); - void circuitTestEnd(ZT_CircuitTest *test); ZT_ResultCode clusterInit( unsigned int myId, const struct sockaddr_storage *zeroTierPhysicalEndpoints, @@ -219,7 +217,6 @@ public: inline bool externalPathLookup(void *tPtr,const Address &ztaddr,int family,InetAddress &addr) { return ( (_cb.pathLookupFunction) ? (_cb.pathLookupFunction(reinterpret_cast<ZT_Node *>(this),_uPtr,tPtr,ztaddr.toInt(),family,reinterpret_cast<struct sockaddr_storage *>(&addr)) != 0) : false ); } uint64_t prng(); - void postCircuitTestReport(const ZT_CircuitTestReport *report); void setTrustedPaths(const struct sockaddr_storage *networks,const uint64_t *ids,unsigned int count); World planet() const; @@ -309,9 +306,6 @@ private: std::vector< std::pair< uint64_t, SharedPtr<Network> > > _networks; Mutex _networks_m; - std::vector< ZT_CircuitTest * > _circuitTests; - Mutex _circuitTests_m; - std::vector<InetAddress> _directPaths; Mutex _directPaths_m; |
