Peer serialization and related changes.
This commit is contained in:
parent
72e7e36a5b
commit
5076c49210
8 changed files with 214 additions and 90 deletions
|
@ -59,11 +59,11 @@ public:
|
|||
*
|
||||
* These values MUST match ZT_LocalInterfaceAddressTrust in ZeroTierOne.h
|
||||
*/
|
||||
enum Trust
|
||||
enum Trust // NOTE: max 255
|
||||
{
|
||||
TRUST_NORMAL = 0,
|
||||
TRUST_PRIVACY = 1,
|
||||
TRUST_ULTIMATE = 2
|
||||
TRUST_PRIVACY = 10,
|
||||
TRUST_ULTIMATE = 20
|
||||
};
|
||||
|
||||
Path() :
|
||||
|
@ -155,7 +155,7 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
InetAddress _addr;
|
||||
InetAddress::IpScope _ipScope; // memoize this since it's a computed value checked often
|
||||
Trust _trust;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue