Add code to check external surface against reported surface from other trusted peers, and also rename ExternalSurface to SelfAwareness because lulz.

This commit is contained in:
Adam Ierymenko 2015-04-06 20:17:21 -07:00
parent 76ad19f411
commit a2821e9000
6 changed files with 83 additions and 40 deletions

View file

@ -44,6 +44,7 @@ class Node;
class Multicaster;
class AntiRecursion;
class NetworkConfigMaster;
class SelfAwareness;
/**
* Holds global state for an instance of ZeroTier::Node
@ -69,7 +70,8 @@ public:
sw((Switch *)0),
mc((Multicaster *)0),
antiRec((AntiRecursion *)0),
topology((Topology *)0)
topology((Topology *)0),
sa((SelfAwareness *)0)
{
}
@ -96,6 +98,7 @@ public:
Multicaster *mc;
AntiRecursion *antiRec;
Topology *topology;
SelfAwareness *sa;
};
} // namespace ZeroTier