ZeroTierOne/attic/core
2021-08-04 12:36:15 -04:00
..
Address.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
AES.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
AES.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
AES_aesni.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
AES_armcrypto.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Buf.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Buf.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
C25519.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
C25519.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
CallContext.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
CapabilityCredential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
CapabilityCredential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
CAPI.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Certificate.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Certificate.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
CMakeLists.txt Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Constants.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Containers.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Context.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Credential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Credential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Defaults.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Defaults.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Defragmenter.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Dictionary.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Dictionary.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
ECC384.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
ECC384.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Endpoint.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Endpoint.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Expect.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
FCV.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Fingerprint.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Identity.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Identity.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
InetAddress.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
InetAddress.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Locator.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Locator.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
LZ4.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
LZ4.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MAC.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Member.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Member.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MembershipCredential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MembershipCredential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Meter.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MIMC52.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MIMC52.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
MulticastGroup.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Mutex.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Network.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Network.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
NetworkConfig.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
NetworkConfig.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
NetworkController.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Node.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Node.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
OS.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
OwnershipCredential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
OwnershipCredential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Path.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Path.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Peer.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Peer.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Poly1305.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Poly1305.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Protocol.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
README.md Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
RevocationCredential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
RevocationCredential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Salsa20.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Salsa20.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
ScopedPtr.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SelfAwareness.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SelfAwareness.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SHA512.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SHA512.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SharedPtr.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Spinlock.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Store.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
SymmetricKey.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TagCredential.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TagCredential.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Tests.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Tests.h Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TinyMap.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Topology.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Topology.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Trace.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Trace.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TriviallyCopyable.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TrustStore.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
TrustStore.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Utils.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
Utils.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
version.h.in Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
VL1.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
VL1.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
VL2.cpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
VL2.hpp Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00
zerotier.h Huge cleanup. Some of these things will come back but right now clean them out of this branch. 2021-08-04 12:36:15 -04:00

ZeroTier Network Hypervisor Core

This directory contains the real ZeroTier: a completely OS-independent global virtual Ethernet switch engine. This is where the magic happens.

Give it wire packets and it gives you Ethernet packets, and vice versa. The core contains absolutely no actual I/O, port configuration, or other OS-specific code (except Utils::getSecureRandom()). It provides a simple C API via /include/ZeroTierOne.h. It's designed to be small and maximally portable for future use on small embedded and special purpose systems.

Code in here follows these guidelines:

  • Keep it minimal, especially in terms of code footprint and memory use.
  • There should be no OS-dependent code here unless absolutely necessary (e.g. getSecureRandom).
  • If it's not part of the core virtual Ethernet switch it does not belong here.
  • Minimize the use of complex C++ features since at some point we might end up "minus-minus'ing" this code if doing so proves necessary to port to tiny embedded systems.